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

#5a5bb6 is rgb(90, 91, 182) in RGB and oklch(51.677% 0.14038 279.815) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5bb6 |
| RGB | rgb(90, 91, 182) |
| HSL | hsl(239.35, 38.66%, 53.33%) |
| HSB / HSV | hsv(239.35 50.55% 71.37%) |
| HWB | hwb(239.35 35.29% 28.63%) |
| CMYK | cmyk(51% 50% 0% 29%) |
| Lab | lab(42.17 19.25 -49.35) |
| LCH | lch(42.17 52.97 291.3) |
| OKLab | oklab(51.677% 0.02393 -0.13832) |
| OKLCH | oklch(51.677% 0.14038 279.815) |
| Display P3 | color(display-p3 0.35364 0.35673 0.69098) |
| Rec. 2020 | color(rec2020 0.32228 0.30547 0.6525) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.69752) |
| ProPhoto RGB | color(prophoto-rgb 0.35421 0.30016 0.61667) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.46778) |
| XYZ D65 | color(xyz-d65 0.164 0.13033 0.45909) |
| XYZ D50 | color(xyz-d50 0.15181 0.1261 0.34562) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.714) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BB6) |
| Android XML | #5A5BB6 |

## 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.82:1
- Contrast with black: 3.61:1

## Tints

#5a5bb6, #686bbe, #777cc6, #878cce, #979cd6, #a7acdd, #b8bde4, #c9cdeb, #dbdef2, #edeef9

## Shades

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

## Tones

#5a5bb6, #5b5dae, #5c5fa7, #5d619f, #5e6298, #606490, #616588, #636680, #646778, #666770

## Harmonies

- Complementary: #5a5bb6, #7a6800
- Split: #5a5bb6, #975700, #4c7700
- Analogous: #5a5bb6, #0d6ab4, #804da3
- Triadic: #5a5bb6, #a8451f, #007f4a
- Tetradic: #5a5bb6, #9a4281, #7a6800, #007f4a
- Square: #5a5bb6, #a83e56, #7a6800, #007b76
- Monochromatic: #5a5bb6, #21126a, #3b388f, #7b7fde, #9fa5ff

## Questions about #5a5bb6

### What color is #5a5bb6?

#5a5bb6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 182), in HSL hsl(239.35, 38.66%, 53.33%) and in OKLCH oklch(51.677% 0.14038 279.815).

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

The complementary color of #5a5bb6 is #7a6800. For a calmer combination use the analogous colors #0d6ab4 and #804da3. The triadic partners are #a8451f and #007f4a.

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

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

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

#5a5bb6 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.7% and its chroma 0.14.
