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

#5b56a7 is rgb(91, 86, 167) in RGB and oklch(49.799% 0.12589 283.624) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b56a7 |
| RGB | rgb(91, 86, 167) |
| HSL | hsl(243.7, 32.02%, 49.61%) |
| HSB / HSV | hsv(243.7 48.5% 65.49%) |
| HWB | hwb(243.7 33.73% 34.51%) |
| CMYK | cmyk(46% 49% 0% 35%) |
| Lab | lab(40.15 18.72 -43.75) |
| LCH | lch(40.15 47.59 293.16) |
| OKLab | oklab(49.799% 0.02965 -0.12235) |
| OKLCH | oklch(49.799% 0.12589 283.624) |
| Display P3 | color(display-p3 0.35348 0.33793 0.63455) |
| Rec. 2020 | color(rec2020 0.31283 0.28578 0.59136) |
| Adobe RGB | color(a98-rgb 0.35309 0.33969 0.63969) |
| ProPhoto RGB | color(prophoto-rgb 0.336 0.28204 0.55557) |
| Linear sRGB | color(srgb-linear 0.10462 0.09306 0.38643) |
| XYZ D65 | color(xyz-d65 0.14616 0.1167 0.38043) |
| XYZ D50 | color(xyz-d50 0.13675 0.11341 0.28644) |
| SwiftUI | Color(red: 0.357, green: 0.337, blue: 0.655) |
| UIKit | UIColor(red: 0.357, green: 0.337, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5B56A7) |
| Android XML | #5B56A7 |

## Facts

- Closest name: Yuè Guāng Lán Moonlight
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.3:1
- Contrast with black: 3.33:1

## Tints

#5b56a7, #6967b1, #7877ba, #8888c3, #9798cc, #a8a9d5, #b9bade, #cacbe6, #dbdcef, #ededf7

## Shades

#5b56a7, #4e4a91, #413e7b, #353266, #292752, #1e1c3e, #13122c, #09081a, #03020a, #000001

## Tones

#5b56a7, #5b58a0, #5c5a9a, #5c5b93, #5d5d8c, #5e5e86, #5f5f7f, #5f6078, #606171, #61626a

## Harmonies

- Complementary: #5b56a7, #706400
- Split: #5b56a7, #8c5500, #43711b
- Analogous: #5b56a7, #2664a8, #7c4a94
- Triadic: #5b56a7, #9b461d, #00784e
- Tetradic: #5b56a7, #924175, #706400, #00784e
- Square: #5b56a7, #9d3f4d, #706400, #007474
- Monochromatic: #5b56a7, #210f5c, #3c3381, #7d7ace, #a09ff7

## Questions about #5b56a7

### What color is #5b56a7?

#5b56a7 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 86, 167), in HSL hsl(243.7, 32.02%, 49.61%) and in OKLCH oklch(49.799% 0.12589 283.624).

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

The complementary color of #5b56a7 is #706400. For a calmer combination use the analogous colors #2664a8 and #7c4a94. The triadic partners are #9b461d and #00784e.

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

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

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

#5b56a7 is a cool color. In OKLCH its hue is 284 degrees, its lightness 49.8% and its chroma 0.126.
