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

#5b5ab5 is rgb(91, 90, 181) in RGB and oklch(51.494% 0.14018 280.776) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5ab5 |
| RGB | rgb(91, 90, 181) |
| HSL | hsl(240.66, 38.08%, 53.14%) |
| HSB / HSV | hsv(240.66 50.28% 70.98%) |
| HWB | hwb(240.66 35.29% 29.02%) |
| CMYK | cmyk(50% 50% 0% 29%) |
| Lab | lab(41.94 19.84 -49.14) |
| LCH | lch(41.94 52.99 291.99) |
| OKLab | oklab(51.494% 0.02621 -0.13771) |
| OKLCH | oklch(51.494% 0.14018 280.776) |
| Display P3 | color(display-p3 0.35617 0.35307 0.68716) |
| Rec. 2020 | color(rec2020 0.32301 0.30195 0.64832) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.6936) |
| ProPhoto RGB | color(prophoto-rgb 0.35379 0.29723 0.61242) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.46208) |
| XYZ D65 | color(xyz-d65 0.1631 0.12872 0.45343) |
| XYZ D50 | color(xyz-d50 0.15111 0.12458 0.34135) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.71) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AB5) |
| Android XML | #5B5AB5 |

## 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.87:1
- Contrast with black: 3.57:1

## Tints

#5b5ab5, #696bbd, #787bc5, #878bcd, #979bd5, #a8acdd, #b8bce4, #cacdeb, #dbddf2, #edeef9

## Shades

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

## Tones

#5b5ab5, #5c5cae, #5d5ea6, #5e609e, #5f6197, #60638f, #616487, #636580, #646678, #666770

## Harmonies

- Complementary: #5b5ab5, #786800
- Split: #5b5ab5, #955700, #4a7600
- Analogous: #5b5ab5, #1369b4, #814ca2
- Triadic: #5b5ab5, #a7451c, #007f4c
- Tetradic: #5b5ab5, #9a417f, #786800, #007f4c
- Square: #5b5ab5, #a83d54, #786800, #007a76
- Monochromatic: #5b5ab5, #221169, #3c378e, #7c7edd, #a0a4ff

## Questions about #5b5ab5

### What color is #5b5ab5?

#5b5ab5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 181), in HSL hsl(240.66, 38.08%, 53.14%) and in OKLCH oklch(51.494% 0.14018 280.776).

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

The complementary color of #5b5ab5 is #786800. For a calmer combination use the analogous colors #1369b4 and #814ca2. The triadic partners are #a7451c and #007f4c.

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

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

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

#5b5ab5 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.5% and its chroma 0.14.
