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

#5b56b1 is rgb(91, 86, 177) in RGB and oklch(50.46% 0.1402 282.619) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b56b1 |
| RGB | rgb(91, 86, 177) |
| HSL | hsl(243.3, 36.84%, 51.57%) |
| HSB / HSV | hsv(243.3 51.41% 69.41%) |
| HWB | hwb(243.3 33.73% 30.59%) |
| CMYK | cmyk(49% 51% 0% 31%) |
| Lab | lab(40.68 21.2 -48.8) |
| LCH | lch(40.68 53.21 293.48) |
| OKLab | oklab(50.46% 0.03063 -0.13681) |
| OKLCH | oklch(50.46% 0.1402 282.619) |
| Display P3 | color(display-p3 0.35348 0.33793 0.67178) |
| Rec. 2020 | color(rec2020 0.31659 0.28686 0.63154) |
| Adobe RGB | color(a98-rgb 0.35309 0.33969 0.67796) |
| ProPhoto RGB | color(prophoto-rgb 0.34583 0.28432 0.59539) |
| Linear sRGB | color(srgb-linear 0.10462 0.09306 0.43966) |
| XYZ D65 | color(xyz-d65 0.15577 0.12054 0.43102) |
| XYZ D50 | color(xyz-d50 0.14437 0.11664 0.32445) |
| SwiftUI | Color(red: 0.357, green: 0.337, blue: 0.694) |
| UIKit | UIColor(red: 0.357, green: 0.337, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5B56B1) |
| Android XML | #5B56B1 |

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

## Tints

#5b56b1, #6967ba, #7878c2, #8788cb, #9799d3, #a7aadb, #b8bae2, #c9cbea, #dbdcf1, #edeef8

## Shades

#5b56b1, #4e4a99, #413e83, #35326c, #292757, #1e1c42, #13122f, #09081c, #03020c, #000001

## Tones

#5b56b1, #5b58aa, #5c5aa2, #5d5c9b, #5e5e93, #5e5f8c, #5f6184, #61627c, #626375, #63646d

## Harmonies

- Complementary: #5b56b1, #736600
- Split: #5b56b1, #8f5600, #437403
- Analogous: #5b56b1, #1865b1, #80489d
- Triadic: #5b56b1, #a34212, #007b4d
- Tetradic: #5b56b1, #983e7a, #736600, #007b4d
- Square: #5b56b1, #a43a4e, #736600, #007775
- Monochromatic: #5b56b1, #220b65, #3c338a, #7c7ad9, #a09fff

## Questions about #5b56b1

### What color is #5b56b1?

#5b56b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 86, 177), in HSL hsl(243.3, 36.84%, 51.57%) and in OKLCH oklch(50.46% 0.1402 282.619).

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

The complementary color of #5b56b1 is #736600. For a calmer combination use the analogous colors #1865b1 and #80489d. The triadic partners are #a34212 and #007b4d.

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

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

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

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