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

#5b56ab is rgb(91, 86, 171) in RGB and oklch(50.06% 0.13166 283.212) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b56ab |
| RGB | rgb(91, 86, 171) |
| HSL | hsl(243.53, 33.6%, 50.39%) |
| HSB / HSV | hsv(243.53 49.71% 67.06%) |
| HWB | hwb(243.53 33.73% 32.94%) |
| CMYK | cmyk(47% 50% 0% 33%) |
| Lab | lab(40.36 19.7 -45.79) |
| LCH | lch(40.36 49.84 293.28) |
| OKLab | oklab(50.06% 0.03009 -0.12817) |
| OKLCH | oklch(50.06% 0.13166 283.212) |
| Display P3 | color(display-p3 0.35348 0.33793 0.64943) |
| Rec. 2020 | color(rec2020 0.3143 0.2862 0.6074) |
| Adobe RGB | color(a98-rgb 0.35309 0.33969 0.65497) |
| ProPhoto RGB | color(prophoto-rgb 0.33987 0.28293 0.5714) |
| Linear sRGB | color(srgb-linear 0.10462 0.09306 0.40724) |
| XYZ D65 | color(xyz-d65 0.14992 0.1182 0.40021) |
| XYZ D50 | color(xyz-d50 0.13973 0.11468 0.3013) |
| SwiftUI | Color(red: 0.357, green: 0.337, blue: 0.671) |
| UIKit | UIColor(red: 0.357, green: 0.337, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF5B56AB) |
| Android XML | #5B56AB |

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

## Tints

#5b56ab, #6967b4, #7877bd, #8788c6, #9799cf, #a8a9d7, #b8badf, #cacbe8, #dbdcf0, #edeef7

## Shades

#5b56ab, #4e4a94, #413e7e, #353268, #292754, #1e1c40, #13122d, #09081b, #03020b, #000001

## Tones

#5b56ab, #5b58a4, #5c5a9d, #5d5c96, #5d5d8f, #5e5f88, #5f6081, #60617a, #616272, #62636b

## Harmonies

- Complementary: #5b56ab, #716500
- Split: #5b56ab, #8d5500, #437213
- Analogous: #5b56ab, #2164ac, #7d4998
- Triadic: #5b56ab, #9e4419, #00794d
- Tetradic: #5b56ab, #944077, #716500, #00794d
- Square: #5b56ab, #a03d4d, #716500, #007574
- Monochromatic: #5b56ab, #210e60, #3c3385, #7d7ad3, #a09ffb

## Questions about #5b56ab

### What color is #5b56ab?

#5b56ab is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 86, 171), in HSL hsl(243.53, 33.6%, 50.39%) and in OKLCH oklch(50.06% 0.13166 283.212).

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

The complementary color of #5b56ab is #716500. For a calmer combination use the analogous colors #2164ac and #7d4998. The triadic partners are #9e4419 and #00794d.

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

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

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

#5b56ab is a cool color. In OKLCH its hue is 283 degrees, its lightness 50.1% and its chroma 0.132.
