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

#5b5bb2 is rgb(91, 91, 178) in RGB and oklch(51.489% 0.13448 280.588) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5bb2 |
| RGB | rgb(91, 91, 178) |
| HSL | hsl(240, 36.1%, 52.75%) |
| HSB / HSV | hsv(240 48.88% 69.8%) |
| HWB | hwb(240 35.69% 30.2%) |
| CMYK | cmyk(49% 49% 0% 30%) |
| Lab | lab(42.04 18.5 -47.22) |
| LCH | lch(42.04 50.71 291.39) |
| OKLab | oklab(51.489% 0.02471 -0.13219) |
| OKLCH | oklch(51.489% 0.13448 280.588) |
| Display P3 | color(display-p3 0.35686 0.35686 0.67612) |
| Rec. 2020 | color(rec2020 0.32309 0.30531 0.6364) |
| Adobe RGB | color(a98-rgb 0.35827 0.35827 0.68215) |
| ProPhoto RGB | color(prophoto-rgb 0.35176 0.29957 0.60055) |
| Linear sRGB | color(srgb-linear 0.10462 0.10462 0.4452) |
| XYZ D65 | color(xyz-d65 0.1609 0.1292 0.43767) |
| XYZ D50 | color(xyz-d50 0.14961 0.12526 0.32953) |
| SwiftUI | Color(red: 0.357, green: 0.357, blue: 0.698) |
| UIKit | UIColor(red: 0.357, green: 0.357, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5BB2) |
| Android XML | #5B5BB2 |

## 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

#5b5bb2, #696bbb, #787cc3, #878ccb, #979cd3, #a8acdb, #b9bce2, #cacdea, #dbddf1, #edeef8

## Shades

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

## Tones

#5b5bb2, #5c5dab, #5d5fa4, #5e609c, #5f6295, #60638e, #616486, #63657f, #646677, #66676f

## Harmonies

- Complementary: #5b5bb2, #786800
- Split: #5b5bb2, #955700, #4c760d
- Analogous: #5b5bb2, #1a6ab1, #804ea0
- Triadic: #5b5bb2, #a54721, #007e4c
- Tetradic: #5b5bb2, #98447f, #786800, #007e4c
- Square: #5b5bb2, #a54055, #786800, #007a76
- Monochromatic: #5b5bb2, #211366, #3c388b, #7d7fda, #a0a5ff

## Questions about #5b5bb2

### What color is #5b5bb2?

#5b5bb2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 91, 178), in HSL hsl(240, 36.1%, 52.75%) and in OKLCH oklch(51.489% 0.13448 280.588).

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

The complementary color of #5b5bb2 is #786800. For a calmer combination use the analogous colors #1a6ab1 and #804ea0. The triadic partners are #a54721 and #007e4c.

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

White text reads better on #5b5bb2: 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 #5b5bb2 a warm or cool color?

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