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

#5a5ca8 is rgb(90, 92, 168) in RGB and oklch(50.973% 0.11871 280.171) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ca8 |
| RGB | rgb(90, 92, 168) |
| HSL | hsl(238.46, 30.95%, 50.59%) |
| HSB / HSV | hsv(238.46 46.43% 65.88%) |
| HWB | hwb(238.46 35.29% 34.12%) |
| CMYK | cmyk(46% 45% 0% 34%) |
| Lab | lab(41.72 15.13 -41.86) |
| LCH | lch(41.72 44.51 289.87) |
| OKLab | oklab(50.973% 0.02096 -0.11684) |
| OKLCH | oklch(50.973% 0.11871 280.171) |
| Display P3 | color(display-p3 0.35435 0.36053 0.63904) |
| Rec. 2020 | color(rec2020 0.31825 0.30772 0.5964) |
| Adobe RGB | color(a98-rgb 0.35668 0.36199 0.64395) |
| ProPhoto RGB | color(prophoto-rgb 0.34139 0.30009 0.56093) |
| Linear sRGB | color(srgb-linear 0.10224 0.10702 0.39157) |
| XYZ D65 | color(xyz-d65 0.1511 0.12655 0.38694) |
| XYZ D50 | color(xyz-d50 0.14183 0.12321 0.29144) |
| SwiftUI | Color(red: 0.353, green: 0.361, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.361, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5CA8) |
| Android XML | #5A5CA8 |

## 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.95:1
- Contrast with black: 3.53:1

## Tints

#5a5ca8, #686cb1, #787cbb, #878cc4, #979ccc, #a8acd5, #b8bcde, #cacde6, #dbddef, #edeef7

## Shades

#5a5ca8, #4d4f92, #41427c, #353667, #292a52, #1e1f3f, #13142c, #090a1a, #03030a, #000001

## Tones

#5a5ca8, #5b5ea2, #5c5f9b, #5d6095, #5e618e, #5f6288, #606381, #62647b, #636574, #64656d

## Harmonies

- Complementary: #5a5ca8, #766600
- Split: #5a5ca8, #905700, #4e731f
- Analogous: #5a5ca8, #2769a7, #7b5098
- Triadic: #5a5ca8, #9d4a2c, #007a4e
- Tetradic: #5a5ca8, #91487b, #766600, #007a4e
- Square: #5a5ca8, #9d4556, #766600, #007974
- Monochromatic: #5a5ca8, #1f175d, #3b3a82, #7c80cf, #9fa5f8

## Questions about #5a5ca8

### What color is #5a5ca8?

#5a5ca8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 92, 168), in HSL hsl(238.46, 30.95%, 50.59%) and in OKLCH oklch(50.973% 0.11871 280.171).

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

The complementary color of #5a5ca8 is #766600. For a calmer combination use the analogous colors #2769a7 and #7b5098. The triadic partners are #9d4a2c and #007a4e.

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

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

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

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