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

#5a5fb4 is rgb(90, 95, 180) in RGB and oklch(52.331% 0.13191 278.264) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5fb4 |
| RGB | rgb(90, 95, 180) |
| HSL | hsl(236.67, 37.5%, 52.94%) |
| HSB / HSV | hsv(236.67 50% 70.59%) |
| HWB | hwb(236.67 35.29% 29.41%) |
| CMYK | cmyk(50% 47% 0% 29%) |
| Lab | lab(43.13 16.38 -46.65) |
| LCH | lch(43.13 49.45 289.34) |
| OKLab | oklab(52.331% 0.01896 -0.13054) |
| OKLCH | oklch(52.331% 0.13191 278.264) |
| Display P3 | color(display-p3 0.35652 0.37192 0.68405) |
| Rec. 2020 | color(rec2020 0.32663 0.32007 0.64511) |
| Adobe RGB | color(a98-rgb 0.35997 0.37318 0.69011) |
| ProPhoto RGB | color(prophoto-rgb 0.3563 0.31198 0.60953) |
| Linear sRGB | color(srgb-linear 0.10224 0.11444 0.45641) |
| XYZ D65 | color(xyz-d65 0.16546 0.13653 0.44945) |
| XYZ D50 | color(xyz-d50 0.15396 0.13245 0.33846) |
| SwiftUI | Color(red: 0.353, green: 0.373, blue: 0.706) |
| UIKit | UIColor(red: 0.353, green: 0.373, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5FB4) |
| Android XML | #5A5FB4 |

## 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.63:1
- Contrast with black: 3.73:1

## Tints

#5a5fb4, #686fbc, #777fc4, #878ecc, #979ed4, #a7aedc, #b8bee3, #c9ceea, #dbdef1, #edeff8

## Shades

#5a5fb4, #4d529c, #414485, #35386e, #292c58, #1e2044, #131530, #090a1d, #03030c, #000002

## Tones

#5a5fb4, #5b61ad, #5c62a6, #5e649e, #5f6597, #616690, #636788, #646881, #666979, #686972

## Harmonies

- Complementary: #5a5fb4, #7d6900
- Split: #5a5fb4, #9a5800, #53770d
- Analogous: #5a5fb4, #166db1, #7f52a3
- Triadic: #5a5fb4, #a7492b, #00804c
- Tetradic: #5a5fb4, #994884, #7d6900, #00804c
- Square: #5a5fb4, #a7435b, #7d6900, #007d76
- Monochromatic: #5a5fb4, #201868, #3b3c8d, #7c83dc, #9fa9ff

## Questions about #5a5fb4

### What color is #5a5fb4?

#5a5fb4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 95, 180), in HSL hsl(236.67, 37.5%, 52.94%) and in OKLCH oklch(52.331% 0.13191 278.264).

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

The complementary color of #5a5fb4 is #7d6900. For a calmer combination use the analogous colors #166db1 and #7f52a3. The triadic partners are #a7492b and #00804c.

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

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

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

#5a5fb4 is a cool color. In OKLCH its hue is 278 degrees, its lightness 52.3% and its chroma 0.132.
