# #5a5baf color: Yuè Guāng Lán Moonlight

#5a5baf is rgb(90, 91, 175) in RGB and oklch(51.216% 0.13034 280.24) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/5a5baf

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5baf |
| RGB | rgb(90, 91, 175) |
| HSL | hsl(239.29, 34.69%, 51.96%) |
| HSB / HSV | hsv(239.29 48.57% 68.63%) |
| HWB | hwb(239.29 35.29% 31.37%) |
| CMYK | cmyk(49% 48% 0% 31%) |
| Lab | lab(41.8 17.47 -45.84) |
| LCH | lch(41.8 49.06 290.86) |
| OKLab | oklab(51.216% 0.02317 -0.12827) |
| OKLCH | oklch(51.216% 0.13034 280.24) |
| Display P3 | color(display-p3 0.35364 0.35673 0.66492) |
| Rec. 2020 | color(rec2020 0.31957 0.30472 0.62429) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.67064) |
| ProPhoto RGB | color(prophoto-rgb 0.34715 0.29855 0.58848) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.42869) |
| XYZ D65 | color(xyz-d65 0.15694 0.12751 0.42193) |
| XYZ D50 | color(xyz-d50 0.14621 0.12373 0.31771) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.686) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.686, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BAF) |
| Android XML | #5A5BAF |

## Facts

- Closest name: Yuè Guāng Lán Moonlight
- Hue family: Indigo, soft indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.92:1
- Contrast with black: 3.55:1

## Tints

#5a5baf, #686bb8, #777bc0, #878bc9, #979cd1, #a7acd9, #b8bce1, #c9cde9, #dbddf0, #edeef8

## Shades

#5a5baf, #4d4e98, #414181, #35356b, #292956, #1e1e41, #13132e, #09091c, #03030b, #000001

## Tones

#5a5baf, #5b5da8, #5c5fa1, #5d609a, #5e6193, #5f638c, #616485, #62657d, #636576, #65666e

## Harmonies

- Complementary: #5a5baf, #786700
- Split: #5a5baf, #945600, #4c7511
- Analogous: #5a5baf, #1c69ae, #7e4e9e
- Triadic: #5a5baf, #a34725, #007c4c
- Tetradic: #5a5baf, #96447e, #786700, #007c4c
- Square: #5a5baf, #a34155, #786700, #007975
- Monochromatic: #5a5baf, #201464, #3b3889, #7c7fd7, #9fa4ff

## Questions about #5a5baf

### What color is #5a5baf?

#5a5baf is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 175), in HSL hsl(239.29, 34.69%, 51.96%) and in OKLCH oklch(51.216% 0.13034 280.24).

### What colors go well with #5a5baf?

The complementary color of #5a5baf is #786700. For a calmer combination use the analogous colors #1c69ae and #7e4e9e. The triadic partners are #a34725 and #007c4c.

### Is white or black text more readable on #5a5baf?

White text reads better on #5a5baf: white gives a contrast ratio of 5.92:1 and black gives 3.55:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #5a5baf a warm or cool color?

#5a5baf is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.2% and its chroma 0.13.
