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

#5f5baf is rgb(95, 91, 175) in RGB and oklch(51.612% 0.12956 283.02) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5baf |
| RGB | rgb(95, 91, 175) |
| HSL | hsl(242.86, 34.43%, 52.16%) |
| HSB / HSV | hsv(242.86 48% 68.63%) |
| HWB | hwb(242.86 35.69% 31.37%) |
| CMYK | cmyk(46% 48% 0% 31%) |
| Lab | lab(42.22 18.85 -45.14) |
| LCH | lch(42.22 48.92 292.67) |
| OKLab | oklab(51.612% 0.02919 -0.12623) |
| OKLCH | oklch(51.612% 0.12956 283.02) |
| Display P3 | color(display-p3 0.36982 0.3574 0.66508) |
| Rec. 2020 | color(rec2020 0.33166 0.30613 0.62446) |
| Adobe RGB | color(a98-rgb 0.36901 0.35827 0.67064) |
| ProPhoto RGB | color(prophoto-rgb 0.35543 0.3003 0.58866) |
| Linear sRGB | color(srgb-linear 0.11444 0.10462 0.42869) |
| XYZ D65 | color(xyz-d65 0.16197 0.1301 0.42217) |
| XYZ D50 | color(xyz-d50 0.15153 0.12645 0.31788) |
| SwiftUI | Color(red: 0.373, green: 0.357, blue: 0.686) |
| UIKit | UIColor(red: 0.373, green: 0.357, blue: 0.686, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5BAF) |
| Android XML | #5F5BAF |

## 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.83:1
- Contrast with black: 3.6:1

## Tints

#5f5baf, #6d6bb8, #7b7bc0, #8b8bc9, #9a9cd1, #aaacd9, #babce1, #cbcde9, #dcddf0, #edeef8

## Shades

#5f5baf, #524e98, #444181, #38356b, #2c2956, #201e41, #15132e, #0a091c, #03030b, #000001

## Tones

#5f5baf, #5f5da8, #605fa1, #61609a, #616293, #62638c, #636485, #64657e, #656677, #66676f

## Harmonies

- Complementary: #5f5baf, #766900
- Split: #5f5baf, #935900, #49771c
- Analogous: #5f5baf, #2769b0, #814e9c
- Triadic: #5f5baf, #a34a21, #007e52
- Tetradic: #5f5baf, #99457b, #766900, #007e52
- Square: #5f5baf, #a44352, #766900, #007a79
- Monochromatic: #5f5baf, #241464, #403889, #817fd7, #a5a4ff

## Questions about #5f5baf

### What color is #5f5baf?

#5f5baf is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 91, 175), in HSL hsl(242.86, 34.43%, 52.16%) and in OKLCH oklch(51.612% 0.12956 283.02).

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

The complementary color of #5f5baf is #766900. For a calmer combination use the analogous colors #2769b0 and #814e9c. The triadic partners are #a34a21 and #007e52.

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

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

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

#5f5baf is a cool color. In OKLCH its hue is 283 degrees, its lightness 51.6% and its chroma 0.13.
