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

#5b5baf is rgb(91, 91, 175) in RGB and oklch(51.294% 0.13017 280.788) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5baf |
| RGB | rgb(91, 91, 175) |
| HSL | hsl(240, 34.43%, 52.16%) |
| HSB / HSV | hsv(240 48% 68.63%) |
| HWB | hwb(240 35.69% 31.37%) |
| CMYK | cmyk(48% 48% 0% 31%) |
| Lab | lab(41.89 17.74 -45.7) |
| LCH | lch(41.89 49.03 291.22) |
| OKLab | oklab(51.294% 0.02436 -0.12787) |
| OKLCH | oklch(51.294% 0.13017 280.788) |
| Display P3 | color(display-p3 0.35686 0.35686 0.66495) |
| Rec. 2020 | color(rec2020 0.32195 0.305 0.62433) |
| Adobe RGB | color(a98-rgb 0.35827 0.35827 0.67064) |
| ProPhoto RGB | color(prophoto-rgb 0.34878 0.29889 0.58852) |
| Linear sRGB | color(srgb-linear 0.10462 0.10462 0.42869) |
| XYZ D65 | color(xyz-d65 0.15792 0.12801 0.42198) |
| XYZ D50 | color(xyz-d50 0.14725 0.12426 0.31774) |
| SwiftUI | Color(red: 0.357, green: 0.357, blue: 0.686) |
| UIKit | UIColor(red: 0.357, green: 0.357, blue: 0.686, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5BAF) |
| Android XML | #5B5BAF |

## 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.9:1
- Contrast with black: 3.56:1

## Tints

#5b5baf, #696bb8, #787bc0, #888bc9, #979cd1, #a8acd9, #b9bce1, #cacde9, #dbddf0, #edeef8

## Shades

#5b5baf, #4e4e98, #414181, #35356b, #292956, #1e1e41, #13132e, #09091c, #03030b, #000001

## Tones

#5b5baf, #5c5da8, #5d5fa1, #5e609a, #5f6193, #60638c, #616485, #62657d, #646576, #65666e

## Harmonies

- Complementary: #5b5baf, #776700
- Split: #5b5baf, #945600, #4c7514
- Analogous: #5b5baf, #1f69ae, #7e4e9d
- Triadic: #5b5baf, #a34824, #007d4d
- Tetradic: #5b5baf, #96447d, #776700, #007d4d
- Square: #5b5baf, #a34154, #776700, #007a75
- Monochromatic: #5b5baf, #211464, #3c3889, #7d7fd7, #a0a4ff

## Questions about #5b5baf

### What color is #5b5baf?

#5b5baf is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 91, 175), in HSL hsl(240, 34.43%, 52.16%) and in OKLCH oklch(51.294% 0.13017 280.788).

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

The complementary color of #5b5baf is #776700. For a calmer combination use the analogous colors #1f69ae and #7e4e9d. The triadic partners are #a34824 and #007d4d.

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

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

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

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