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

#5f56b2 is rgb(95, 86, 178) in RGB and oklch(50.855% 0.14111 284.638) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f56b2 |
| RGB | rgb(95, 86, 178) |
| HSL | hsl(245.87, 37.4%, 51.76%) |
| HSB / HSV | hsv(245.87 51.69% 69.8%) |
| HWB | hwb(245.87 33.73% 30.2%) |
| CMYK | cmyk(47% 52% 0% 30%) |
| Lab | lab(41.08 22.52 -48.72) |
| LCH | lch(41.08 53.67 294.81) |
| OKLab | oklab(50.855% 0.03566 -0.13653) |
| OKLCH | oklch(50.855% 0.14111 284.638) |
| Display P3 | color(display-p3 0.36658 0.3385 0.67562) |
| Rec. 2020 | color(rec2020 0.32682 0.28817 0.6357) |
| Adobe RGB | color(a98-rgb 0.36402 0.33969 0.6818) |
| ProPhoto RGB | color(prophoto-rgb 0.35353 0.28602 0.59955) |
| Linear sRGB | color(srgb-linear 0.11444 0.09306 0.4452) |
| XYZ D65 | color(xyz-d65 0.16082 0.12303 0.43648) |
| XYZ D50 | color(xyz-d50 0.14944 0.11916 0.32855) |
| SwiftUI | Color(red: 0.373, green: 0.337, blue: 0.698) |
| UIKit | UIColor(red: 0.373, green: 0.337, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5F56B2) |
| Android XML | #5F56B2 |

## 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.07:1
- Contrast with black: 3.46:1

## Tints

#5f56b2, #6d67bb, #7b78c3, #8a88cb, #9a99d3, #aaaadb, #babae3, #cbcbea, #dcdcf1, #edeef8

## Shades

#5f56b2, #524a9a, #443e83, #38326d, #2c2757, #201c43, #15122f, #0a081d, #03020c, #000001

## Tones

#5f56b2, #5f58ab, #5f5ba3, #605d9c, #605e94, #61608d, #626185, #63637d, #636476, #64656e

## Harmonies

- Complementary: #5f56b2, #726800
- Split: #5f56b2, #8f5800, #3f760e
- Analogous: #5f56b2, #2165b4, #83489c
- Triadic: #5f56b2, #a4440b, #007c52
- Tetradic: #5f56b2, #9b3e78, #726800, #007c52
- Square: #5f56b2, #a73b4c, #726800, #007878
- Monochromatic: #5f56b2, #250b66, #40338b, #817ada, #a4a0ff

## Questions about #5f56b2

### What color is #5f56b2?

#5f56b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 86, 178), in HSL hsl(245.87, 37.4%, 51.76%) and in OKLCH oklch(50.855% 0.14111 284.638).

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

The complementary color of #5f56b2 is #726800. For a calmer combination use the analogous colors #2165b4 and #83489c. The triadic partners are #a4440b and #007c52.

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

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

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

#5f56b2 is a cool color. In OKLCH its hue is 285 degrees, its lightness 50.9% and its chroma 0.141.
