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

#5a5bb5 is rgb(90, 91, 181) in RGB and oklch(51.61% 0.13895 279.876) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5bb5 |
| RGB | rgb(90, 91, 181) |
| HSL | hsl(239.34, 38.08%, 53.14%) |
| HSB / HSV | hsv(239.34 50.28% 70.98%) |
| HWB | hwb(239.34 35.29% 29.02%) |
| CMYK | cmyk(50% 50% 0% 29%) |
| Lab | lab(42.12 18.99 -48.85) |
| LCH | lch(42.12 52.41 291.24) |
| OKLab | oklab(51.61% 0.02383 -0.13689) |
| OKLCH | oklch(51.61% 0.13895 279.876) |
| Display P3 | color(display-p3 0.35364 0.35673 0.68725) |
| Rec. 2020 | color(rec2020 0.32188 0.30536 0.64846) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.69367) |
| ProPhoto RGB | color(prophoto-rgb 0.35319 0.29992 0.61262) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.46208) |
| XYZ D65 | color(xyz-d65 0.16297 0.12992 0.45367) |
| XYZ D50 | color(xyz-d50 0.15099 0.12576 0.34155) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.71) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BB5) |
| Android XML | #5A5BB5 |

## 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.84:1
- Contrast with black: 3.6:1

## Tints

#5a5bb5, #686bbd, #777cc5, #878ccd, #979cd5, #a7acdd, #b8bde4, #c9cdeb, #dbdef2, #edeef9

## Shades

#5a5bb5, #4d4e9d, #414186, #35356f, #292959, #1e1e44, #131330, #09091d, #03030c, #000002

## Tones

#5a5bb5, #5b5dae, #5c5fa6, #5d619f, #5e6297, #60638f, #616588, #636680, #646678, #666770

## Harmonies

- Complementary: #5a5bb5, #796800
- Split: #5a5bb5, #965700, #4c7600
- Analogous: #5a5bb5, #106ab3, #804da3
- Triadic: #5a5bb5, #a74520, #007f4b
- Tetradic: #5a5bb5, #9a4281, #796800, #007f4b
- Square: #5a5bb5, #a73e56, #796800, #007b75
- Monochromatic: #5a5bb5, #211269, #3b388e, #7b7fdd, #9fa5ff

## Questions about #5a5bb5

### What color is #5a5bb5?

#5a5bb5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 181), in HSL hsl(239.34, 38.08%, 53.14%) and in OKLCH oklch(51.61% 0.13895 279.876).

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

The complementary color of #5a5bb5 is #796800. For a calmer combination use the analogous colors #106ab3 and #804da3. The triadic partners are #a74520 and #007f4b.

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

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

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

#5a5bb5 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.6% and its chroma 0.139.
