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

#5f5baa is rgb(95, 91, 170) in RGB and oklch(51.297% 0.12233 283.493) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5baa |
| RGB | rgb(95, 91, 170) |
| HSL | hsl(243.04, 31.73%, 51.18%) |
| HSB / HSV | hsv(243.04 46.47% 66.67%) |
| HWB | hwb(243.04 35.69% 33.33%) |
| CMYK | cmyk(44% 46% 0% 33%) |
| Lab | lab(41.97 17.64 -42.6) |
| LCH | lch(41.97 46.11 292.5) |
| OKLab | oklab(51.297% 0.02854 -0.11895) |
| OKLCH | oklch(51.297% 0.12233 283.493) |
| Display P3 | color(display-p3 0.36982 0.3574 0.6465) |
| Rec. 2020 | color(rec2020 0.32986 0.30562 0.60439) |
| Adobe RGB | color(a98-rgb 0.36901 0.35827 0.65151) |
| ProPhoto RGB | color(prophoto-rgb 0.35063 0.2992 0.56876) |
| Linear sRGB | color(srgb-linear 0.11444 0.10462 0.40198) |
| XYZ D65 | color(xyz-d65 0.15715 0.12817 0.39677) |
| XYZ D50 | color(xyz-d50 0.14771 0.12483 0.2988) |
| SwiftUI | Color(red: 0.373, green: 0.357, blue: 0.667) |
| UIKit | UIColor(red: 0.373, green: 0.357, blue: 0.667, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5BAA) |
| Android XML | #5F5BAA |

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

## Tints

#5f5baa, #6d6bb3, #7c7bbc, #8b8bc5, #9a9bce, #aaabd6, #bbbcdf, #cbcce7, #dcddef, #edeef7

## Shades

#5f5baa, #524e93, #44417d, #383568, #2c2953, #201e3f, #15132d, #0a091b, #03030b, #000001

## Tones

#5f5baa, #5f5da4, #605e9d, #616096, #616190, #626289, #636483, #64647c, #656575, #66666e

## Harmonies

- Complementary: #5f5baa, #746900
- Split: #5f5baa, #905900, #497523
- Analogous: #5f5baa, #2d68ab, #804f98
- Triadic: #5f5baa, #9f4b25, #007c53
- Tetradic: #5f5baa, #964779, #746900, #007c53
- Square: #5f5baa, #a04552, #746900, #007978
- Monochromatic: #5f5baa, #24165f, #403884, #817fd1, #a5a4fa

## Questions about #5f5baa

### What color is #5f5baa?

#5f5baa is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 91, 170), in HSL hsl(243.04, 31.73%, 51.18%) and in OKLCH oklch(51.297% 0.12233 283.493).

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

The complementary color of #5f5baa is #746900. For a calmer combination use the analogous colors #2d68ab and #804f98. The triadic partners are #9f4b25 and #007c53.

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

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

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

#5f5baa is a cool color. In OKLCH its hue is 283 degrees, its lightness 51.3% and its chroma 0.122.
