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

#5b5ab6 is rgb(91, 90, 182) in RGB and oklch(51.561% 0.1416 280.704) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5ab6 |
| RGB | rgb(91, 90, 182) |
| HSL | hsl(240.65, 38.66%, 53.33%) |
| HSB / HSV | hsv(240.65 50.55% 71.37%) |
| HWB | hwb(240.65 35.29% 28.63%) |
| CMYK | cmyk(50% 51% 0% 29%) |
| Lab | lab(41.99 20.1 -49.64) |
| LCH | lch(41.99 53.55 292.04) |
| OKLab | oklab(51.561% 0.0263 -0.13914) |
| OKLCH | oklch(51.561% 0.1416 280.704) |
| Display P3 | color(display-p3 0.35617 0.35307 0.69088) |
| Rec. 2020 | color(rec2020 0.32341 0.30206 0.65236) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.69745) |
| ProPhoto RGB | color(prophoto-rgb 0.35481 0.29747 0.61647) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.46778) |
| XYZ D65 | color(xyz-d65 0.16413 0.12914 0.45885) |
| XYZ D50 | color(xyz-d50 0.15193 0.12493 0.34543) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.714) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AB6) |
| Android XML | #5B5AB6 |

## 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.86:1
- Contrast with black: 3.58:1

## Tints

#5b5ab6, #696bbe, #787bc6, #878bce, #979cd6, #a8acdd, #b8bce4, #cacdeb, #dbddf2, #edeef9

## Shades

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

## Tones

#5b5ab6, #5c5cae, #5d5ea7, #5e609f, #5f6298, #606390, #616488, #636580, #646678, #666770

## Harmonies

- Complementary: #5b5ab6, #786800
- Split: #5b5ab6, #955700, #4a7700
- Analogous: #5b5ab6, #106ab5, #814ca3
- Triadic: #5b5ab6, #a8441b, #007f4b
- Tetradic: #5b5ab6, #9b4180, #786800, #007f4b
- Square: #5b5ab6, #a83d54, #786800, #007b76
- Monochromatic: #5b5ab6, #22106a, #3c378f, #7c7ede, #a0a4ff

## Questions about #5b5ab6

### What color is #5b5ab6?

#5b5ab6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 182), in HSL hsl(240.65, 38.66%, 53.33%) and in OKLCH oklch(51.561% 0.1416 280.704).

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

The complementary color of #5b5ab6 is #786800. For a calmer combination use the analogous colors #106ab5 and #814ca3. The triadic partners are #a8441b and #007f4b.

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

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

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

#5b5ab6 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.6% and its chroma 0.142.
