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

#5f56b1 is rgb(95, 86, 177) in RGB and oklch(50.788% 0.13971 284.757) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f56b1 |
| RGB | rgb(95, 86, 177) |
| HSL | hsl(245.93, 36.84%, 51.57%) |
| HSB / HSV | hsv(245.93 51.41% 69.41%) |
| HWB | hwb(245.93 33.73% 30.59%) |
| CMYK | cmyk(46% 51% 0% 31%) |
| Lab | lab(41.03 22.28 -48.22) |
| LCH | lch(41.03 53.12 294.8) |
| OKLab | oklab(50.788% 0.03559 -0.1351) |
| OKLCH | oklch(50.788% 0.13971 284.757) |
| Display P3 | color(display-p3 0.36658 0.3385 0.6719) |
| Rec. 2020 | color(rec2020 0.32645 0.28806 0.63167) |
| Adobe RGB | color(a98-rgb 0.36402 0.33969 0.67796) |
| ProPhoto RGB | color(prophoto-rgb 0.35253 0.28578 0.59553) |
| Linear sRGB | color(srgb-linear 0.11444 0.09306 0.43966) |
| XYZ D65 | color(xyz-d65 0.15982 0.12263 0.43121) |
| XYZ D50 | color(xyz-d50 0.14865 0.11883 0.32459) |
| SwiftUI | Color(red: 0.373, green: 0.337, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.337, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F56B1) |
| Android XML | #5F56B1 |

## 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: 6.08:1
- Contrast with black: 3.45:1

## Tints

#5f56b1, #6d67ba, #7b78c2, #8a88ca, #9a99d3, #aaaada, #babae2, #cbcbea, #dcdcf1, #edeef8

## Shades

#5f56b1, #524a99, #443e83, #38326c, #2c2757, #201c42, #15122f, #0a081c, #03020c, #000001

## Tones

#5f56b1, #5f58aa, #5f5ba2, #605d9b, #605e94, #61608c, #626185, #62627d, #636475, #64656d

## Harmonies

- Complementary: #5f56b1, #716800
- Split: #5f56b1, #8f5800, #3f7610
- Analogous: #5f56b1, #2265b3, #83489c
- Triadic: #5f56b1, #a4440c, #007c52
- Tetradic: #5f56b1, #9a3e78, #716800, #007c52
- Square: #5f56b1, #a63c4b, #716800, #007778
- Monochromatic: #5f56b1, #250c65, #40338a, #817ad9, #a49fff

## Questions about #5f56b1

### What color is #5f56b1?

#5f56b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 86, 177), in HSL hsl(245.93, 36.84%, 51.57%) and in OKLCH oklch(50.788% 0.13971 284.757).

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

The complementary color of #5f56b1 is #716800. For a calmer combination use the analogous colors #2265b3 and #83489c. The triadic partners are #a4440c and #007c52.

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

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

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

#5f56b1 is a cool color. In OKLCH its hue is 285 degrees, its lightness 50.8% and its chroma 0.14.
