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

#5a5eb4 is rgb(90, 94, 180) in RGB and oklch(52.133% 0.13331 278.697) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5eb4 |
| RGB | rgb(90, 94, 180) |
| HSL | hsl(237.33, 37.5%, 52.94%) |
| HSB / HSV | hsv(237.33 50% 70.59%) |
| HWB | hwb(237.33 35.29% 29.41%) |
| CMYK | cmyk(50% 48% 0% 29%) |
| Lab | lab(42.86 16.97 -47.08) |
| LCH | lch(42.86 50.04 289.82) |
| OKLab | oklab(52.133% 0.02016 -0.13177) |
| OKLCH | oklch(52.133% 0.13331 278.697) |
| Display P3 | color(display-p3 0.35579 0.36812 0.68391) |
| Rec. 2020 | color(rec2020 0.32532 0.31635 0.64494) |
| Adobe RGB | color(a98-rgb 0.35887 0.36945 0.69004) |
| ProPhoto RGB | color(prophoto-rgb 0.35525 0.30889 0.60929) |
| Linear sRGB | color(srgb-linear 0.10224 0.11193 0.45641) |
| XYZ D65 | color(xyz-d65 0.16456 0.13474 0.44915) |
| XYZ D50 | color(xyz-d50 0.153 0.13066 0.33821) |
| SwiftUI | Color(red: 0.353, green: 0.369, blue: 0.706) |
| UIKit | UIColor(red: 0.353, green: 0.369, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5EB4) |
| Android XML | #5A5EB4 |

## 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.68:1
- Contrast with black: 3.69:1

## Tints

#5a5eb4, #686ebc, #777ec5, #878ecc, #979ed4, #a7aedc, #b8bee3, #c9ceea, #dbdef1, #edeef8

## Shades

#5a5eb4, #4d519c, #414485, #35376e, #292b58, #1e1f44, #131430, #090a1d, #03030c, #000002

## Tones

#5a5eb4, #5b60ad, #5c62a6, #5e639e, #5f6497, #616590, #626688, #646781, #666879, #676971

## Harmonies

- Complementary: #5a5eb4, #7c6900
- Split: #5a5eb4, #995700, #51770b
- Analogous: #5a5eb4, #156db2, #7f51a3
- Triadic: #5a5eb4, #a74828, #007f4b
- Tetradic: #5a5eb4, #994683, #7c6900, #007f4b
- Square: #5a5eb4, #a74259, #7c6900, #007d76
- Monochromatic: #5a5eb4, #201768, #3b3b8d, #7c82dc, #9fa8ff

## Questions about #5a5eb4

### What color is #5a5eb4?

#5a5eb4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 94, 180), in HSL hsl(237.33, 37.5%, 52.94%) and in OKLCH oklch(52.133% 0.13331 278.697).

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

The complementary color of #5a5eb4 is #7c6900. For a calmer combination use the analogous colors #156db2 and #7f51a3. The triadic partners are #a74828 and #007f4b.

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

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

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

#5a5eb4 is a cool color. In OKLCH its hue is 279 degrees, its lightness 52.1% and its chroma 0.133.
