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

#5a5ca9 is rgb(90, 92, 169) in RGB and oklch(51.035% 0.12017 280.119) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ca9 |
| RGB | rgb(90, 92, 169) |
| HSL | hsl(238.48, 31.47%, 50.78%) |
| HSB / HSV | hsv(238.48 46.75% 66.27%) |
| HWB | hwb(238.48 35.29% 33.73%) |
| CMYK | cmyk(47% 46% 0% 34%) |
| Lab | lab(41.77 15.38 -42.37) |
| LCH | lch(41.77 45.07 289.95) |
| OKLab | oklab(51.035% 0.02111 -0.1183) |
| OKLCH | oklch(51.035% 0.12017 280.119) |
| Display P3 | color(display-p3 0.35435 0.36053 0.64275) |
| Rec. 2020 | color(rec2020 0.31861 0.30782 0.6004) |
| Adobe RGB | color(a98-rgb 0.35668 0.36199 0.64777) |
| ProPhoto RGB | color(prophoto-rgb 0.34234 0.3003 0.56487) |
| Linear sRGB | color(srgb-linear 0.10224 0.10702 0.39676) |
| XYZ D65 | color(xyz-d65 0.15204 0.12692 0.39186) |
| XYZ D50 | color(xyz-d50 0.14257 0.12352 0.29514) |
| SwiftUI | Color(red: 0.353, green: 0.361, blue: 0.663) |
| UIKit | UIColor(red: 0.353, green: 0.361, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5CA9) |
| Android XML | #5A5CA9 |

## 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.93:1
- Contrast with black: 3.54:1

## Tints

#5a5ca9, #686cb2, #777cbb, #878cc4, #979ccd, #a8acd6, #b8bcde, #cacde7, #dbddef, #edeef7

## Shades

#5a5ca9, #4d4f92, #41427c, #353667, #292a53, #1e1f3f, #13142c, #090a1b, #03030a, #000001

## Tones

#5a5ca9, #5b5ea3, #5c5f9c, #5d6096, #5e618f, #5f6388, #606382, #62647b, #636574, #65666d

## Harmonies

- Complementary: #5a5ca9, #776600
- Split: #5a5ca9, #915700, #4e731e
- Analogous: #5a5ca9, #2569a8, #7b5099
- Triadic: #5a5ca9, #9e4a2b, #007a4e
- Tetradic: #5a5ca9, #92477b, #776600, #007a4e
- Square: #5a5ca9, #9e4456, #776600, #007974
- Monochromatic: #5a5ca9, #20175e, #3b3a83, #7c80d0, #9fa5f9

## Questions about #5a5ca9

### What color is #5a5ca9?

#5a5ca9 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 92, 169), in HSL hsl(238.48, 31.47%, 50.78%) and in OKLCH oklch(51.035% 0.12017 280.119).

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

The complementary color of #5a5ca9 is #776600. For a calmer combination use the analogous colors #2569a8 and #7b5099. The triadic partners are #9e4a2b and #007a4e.

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

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

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

#5a5ca9 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51% and its chroma 0.12.
