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

#5f5ba8 is rgb(95, 91, 168) in RGB and oklch(51.173% 0.11942 283.687) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5ba8 |
| RGB | rgb(95, 91, 168) |
| HSL | hsl(243.12, 30.68%, 50.78%) |
| HSB / HSV | hsv(243.12 45.83% 65.88%) |
| HWB | hwb(243.12 35.69% 34.12%) |
| CMYK | cmyk(43% 46% 0% 34%) |
| Lab | lab(41.88 17.16 -41.58) |
| LCH | lch(41.88 44.98 292.43) |
| OKLab | oklab(51.173% 0.02826 -0.11603) |
| OKLCH | oklch(51.173% 0.11942 283.687) |
| Display P3 | color(display-p3 0.36982 0.3574 0.63907) |
| Rec. 2020 | color(rec2020 0.32915 0.30543 0.59639) |
| Adobe RGB | color(a98-rgb 0.36901 0.35827 0.64387) |
| ProPhoto RGB | color(prophoto-rgb 0.34875 0.29878 0.56086) |
| Linear sRGB | color(srgb-linear 0.11444 0.10462 0.39157) |
| XYZ D65 | color(xyz-d65 0.15527 0.12742 0.38688) |
| XYZ D50 | color(xyz-d50 0.14622 0.1242 0.29137) |
| SwiftUI | Color(red: 0.373, green: 0.357, blue: 0.659) |
| UIKit | UIColor(red: 0.373, green: 0.357, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5BA8) |
| Android XML | #5F5BA8 |

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

#5f5ba8, #6d6bb1, #7c7bba, #8b8bc4, #9a9bcc, #aaabd5, #bbbcde, #cbcce6, #dcddef, #edeef7

## Shades

#5f5ba8, #524e92, #44417c, #383567, #2c2952, #201e3f, #15132c, #0a091a, #03030a, #000001

## Tones

#5f5ba8, #5f5da2, #605e9b, #606095, #61618f, #626288, #636382, #63647b, #646574, #65666d

## Harmonies

- Complementary: #5f5ba8, #736900
- Split: #5f5ba8, #8f5a00, #497526
- Analogous: #5f5ba8, #2f68a9, #7f4f96
- Triadic: #5f5ba8, #9d4c27, #007b53
- Tetradic: #5f5ba8, #944778, #736900, #007b53
- Square: #5f5ba8, #9f4552, #736900, #007978
- Monochromatic: #5f5ba8, #24165e, #403982, #817fcf, #a5a4f8

## Questions about #5f5ba8

### What color is #5f5ba8?

#5f5ba8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 91, 168), in HSL hsl(243.12, 30.68%, 50.78%) and in OKLCH oklch(51.173% 0.11942 283.687).

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

The complementary color of #5f5ba8 is #736900. For a calmer combination use the analogous colors #2f68a9 and #7f4f96. The triadic partners are #9d4c27 and #007b53.

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

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

#5f5ba8 is a cool color. In OKLCH its hue is 284 degrees, its lightness 51.2% and its chroma 0.119.
