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

#5b56b2 is rgb(91, 86, 178) in RGB and oklch(50.528% 0.14161 282.523) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b56b2 |
| RGB | rgb(91, 86, 178) |
| HSL | hsl(243.26, 37.4%, 51.76%) |
| HSB / HSV | hsv(243.26 51.69% 69.8%) |
| HWB | hwb(243.26 33.73% 30.2%) |
| CMYK | cmyk(49% 52% 0% 30%) |
| Lab | lab(40.73 21.45 -49.3) |
| LCH | lch(40.73 53.77 293.51) |
| OKLab | oklab(50.528% 0.03071 -0.13824) |
| OKLCH | oklch(50.528% 0.14161 282.523) |
| Display P3 | color(display-p3 0.35348 0.33793 0.6755) |
| Rec. 2020 | color(rec2020 0.31698 0.28697 0.63557) |
| Adobe RGB | color(a98-rgb 0.35309 0.33969 0.6818) |
| ProPhoto RGB | color(prophoto-rgb 0.34684 0.28456 0.59941) |
| Linear sRGB | color(srgb-linear 0.10462 0.09306 0.4452) |
| XYZ D65 | color(xyz-d65 0.15677 0.12094 0.43629) |
| XYZ D50 | color(xyz-d50 0.14516 0.11698 0.32841) |
| SwiftUI | Color(red: 0.357, green: 0.337, blue: 0.698) |
| UIKit | UIColor(red: 0.357, green: 0.337, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5B56B2) |
| Android XML | #5B56B2 |

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

## Tints

#5b56b2, #6967bb, #7878c3, #8788cb, #9799d3, #a7aadb, #b8bbe3, #c9cbea, #dbdcf1, #edeef8

## Shades

#5b56b2, #4e4a9a, #413e83, #35326d, #292757, #1e1c43, #13122f, #09081d, #03020c, #000001

## Tones

#5b56b2, #5b58ab, #5c5aa3, #5d5c9c, #5e5e94, #5f608c, #606185, #61627d, #626375, #63646d

## Harmonies

- Complementary: #5b56b2, #736600
- Split: #5b56b2, #905600, #437400
- Analogous: #5b56b2, #1666b2, #80489e
- Triadic: #5b56b2, #a44211, #007b4d
- Tetradic: #5b56b2, #993d7a, #736600, #007b4d
- Square: #5b56b2, #a53a4e, #736600, #007775
- Monochromatic: #5b56b2, #220b66, #3c338b, #7c7ada, #a0a0ff

## Questions about #5b56b2

### What color is #5b56b2?

#5b56b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 86, 178), in HSL hsl(243.26, 37.4%, 51.76%) and in OKLCH oklch(50.528% 0.14161 282.523).

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

The complementary color of #5b56b2 is #736600. For a calmer combination use the analogous colors #1666b2 and #80489e. The triadic partners are #a44211 and #007b4d.

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

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

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

#5b56b2 is a cool color. In OKLCH its hue is 283 degrees, its lightness 50.5% and its chroma 0.142.
