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

#5f56b0 is rgb(95, 86, 176) in RGB and oklch(50.722% 0.1383 284.876) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f56b0 |
| RGB | rgb(95, 86, 176) |
| HSL | hsl(246, 36.29%, 51.37%) |
| HSB / HSV | hsv(246 51.14% 69.02%) |
| HWB | hwb(246 33.73% 30.98%) |
| CMYK | cmyk(46% 51% 0% 31%) |
| Lab | lab(40.98 22.04 -47.72) |
| LCH | lch(40.98 52.56 294.79) |
| OKLab | oklab(50.722% 0.03551 -0.13366) |
| OKLCH | oklch(50.722% 0.1383 284.876) |
| Display P3 | color(display-p3 0.36658 0.3385 0.66818) |
| Rec. 2020 | color(rec2020 0.32607 0.28795 0.62765) |
| Adobe RGB | color(a98-rgb 0.36402 0.33969 0.67413) |
| ProPhoto RGB | color(prophoto-rgb 0.35154 0.28555 0.59151) |
| Linear sRGB | color(srgb-linear 0.11444 0.09306 0.43415) |
| XYZ D65 | color(xyz-d65 0.15882 0.12223 0.42598) |
| XYZ D50 | color(xyz-d50 0.14786 0.11849 0.32066) |
| SwiftUI | Color(red: 0.373, green: 0.337, blue: 0.69) |
| UIKit | UIColor(red: 0.373, green: 0.337, blue: 0.69, alpha: 1) |
| Flutter / Compose | Color(0xFF5F56B0) |
| Android XML | #5F56B0 |

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

## Tints

#5f56b0, #6d67b9, #7b78c1, #8a88ca, #9a99d2, #aaaada, #babae2, #cbcbe9, #dcdcf1, #edeef8

## Shades

#5f56b0, #524a99, #443e82, #38326c, #2c2756, #201c42, #15122e, #0a081c, #03020b, #000001

## Tones

#5f56b0, #5f58a9, #5f5ba2, #605c9a, #605e93, #61608c, #626184, #62627d, #636375, #64646d

## Harmonies

- Complementary: #5f56b0, #716800
- Split: #5f56b0, #8e5800, #3f7613
- Analogous: #5f56b0, #2365b2, #82499b
- Triadic: #5f56b0, #a3450e, #007b52
- Tetradic: #5f56b0, #9a3f77, #716800, #007b52
- Square: #5f56b0, #a53c4b, #716800, #007778
- Monochromatic: #5f56b0, #250c64, #403389, #817ad8, #a49fff

## Questions about #5f56b0

### What color is #5f56b0?

#5f56b0 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 86, 176), in HSL hsl(246, 36.29%, 51.37%) and in OKLCH oklch(50.722% 0.1383 284.876).

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

The complementary color of #5f56b0 is #716800. For a calmer combination use the analogous colors #2365b2 and #82499b. The triadic partners are #a3450e and #007b52.

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

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

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

#5f56b0 is a cool color. In OKLCH its hue is 285 degrees, its lightness 50.7% and its chroma 0.138.
