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

#5b5ab2 is rgb(91, 90, 178) in RGB and oklch(51.294% 0.13591 280.993) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5ab2 |
| RGB | rgb(91, 90, 178) |
| HSL | hsl(240.68, 36.36%, 52.55%) |
| HSB / HSV | hsv(240.68 49.44% 69.8%) |
| HWB | hwb(240.68 35.29% 30.2%) |
| CMYK | cmyk(49% 49% 0% 30%) |
| Lab | lab(41.78 19.09 -47.64) |
| LCH | lch(41.78 51.32 291.83) |
| OKLab | oklab(51.294% 0.02592 -0.13341) |
| OKLCH | oklch(51.294% 0.13591 280.993) |
| Display P3 | color(display-p3 0.35617 0.35307 0.67599) |
| Rec. 2020 | color(rec2020 0.32185 0.30163 0.63623) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.68208) |
| ProPhoto RGB | color(prophoto-rgb 0.35076 0.29654 0.60032) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.4452) |
| XYZ D65 | color(xyz-d65 0.16005 0.12751 0.43739) |
| XYZ D50 | color(xyz-d50 0.1487 0.12356 0.3293) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.698) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AB2) |
| Android XML | #5B5AB2 |

## 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.92:1
- Contrast with black: 3.55:1

## Tints

#5b5ab2, #696abb, #787bc3, #878bcb, #979bd3, #a8acdb, #b8bce2, #cacdea, #dbddf1, #edeef8

## Shades

#5b5ab2, #4e4d9a, #414183, #35356d, #292957, #1e1e43, #13132f, #09091d, #03030c, #000001

## Tones

#5b5ab2, #5c5cab, #5d5ea3, #5e609c, #5f6195, #60628d, #616486, #62657e, #646577, #65666f

## Harmonies

- Complementary: #5b5ab2, #776700
- Split: #5b5ab2, #945700, #4a760a
- Analogous: #5b5ab2, #1969b1, #804c9f
- Triadic: #5b5ab2, #a5461f, #007e4c
- Tetradic: #5b5ab2, #98427e, #776700, #007e4c
- Square: #5b5ab2, #a53f53, #776700, #007a76
- Monochromatic: #5b5ab2, #211266, #3c378b, #7c7eda, #a0a4ff

## Questions about #5b5ab2

### What color is #5b5ab2?

#5b5ab2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 178), in HSL hsl(240.68, 36.36%, 52.55%) and in OKLCH oklch(51.294% 0.13591 280.993).

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

The complementary color of #5b5ab2 is #776700. For a calmer combination use the analogous colors #1969b1 and #804c9f. The triadic partners are #a5461f and #007e4c.

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

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

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

#5b5ab2 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.3% and its chroma 0.136.
