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

#5b56a6 is rgb(91, 86, 166) in RGB and oklch(49.735% 0.12445 283.729) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b56a6 |
| RGB | rgb(91, 86, 166) |
| HSL | hsl(243.75, 31.75%, 49.41%) |
| HSB / HSV | hsv(243.75 48.19% 65.1%) |
| HWB | hwb(243.75 33.73% 34.9%) |
| CMYK | cmyk(45% 48% 0% 35%) |
| Lab | lab(40.1 18.47 -43.24) |
| LCH | lch(40.1 47.02 293.13) |
| OKLab | oklab(49.735% 0.02954 -0.12089) |
| OKLCH | oklch(49.735% 0.12445 283.729) |
| Display P3 | color(display-p3 0.35348 0.33793 0.63083) |
| Rec. 2020 | color(rec2020 0.31247 0.28568 0.58735) |
| Adobe RGB | color(a98-rgb 0.35309 0.33969 0.63587) |
| ProPhoto RGB | color(prophoto-rgb 0.33505 0.28182 0.55163) |
| Linear sRGB | color(srgb-linear 0.10462 0.09306 0.38133) |
| XYZ D65 | color(xyz-d65 0.14524 0.11633 0.37558) |
| XYZ D50 | color(xyz-d50 0.13602 0.11311 0.2828) |
| SwiftUI | Color(red: 0.357, green: 0.337, blue: 0.651) |
| UIKit | UIColor(red: 0.357, green: 0.337, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5B56A6) |
| Android XML | #5B56A6 |

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

## Tints

#5b56a6, #6967b0, #7877b9, #8888c2, #9898cb, #a8a9d4, #b9badd, #cacbe6, #dbdcee, #ededf7

## Shades

#5b56a6, #4e4a90, #413e7a, #353265, #292751, #1e1c3e, #13122b, #09081a, #03020a, #000001

## Tones

#5b56a6, #5b589f, #5c5a99, #5c5b92, #5d5d8c, #5e5e85, #5e5f7e, #5f6078, #606171, #61626a

## Harmonies

- Complementary: #5b56a6, #6f6400
- Split: #5b56a6, #8c5500, #43711c
- Analogous: #5b56a6, #2763a7, #7c4a94
- Triadic: #5b56a6, #9a461e, #00784e
- Tetradic: #5b56a6, #914174, #6f6400, #00784e
- Square: #5b56a6, #9c3f4d, #6f6400, #007473
- Monochromatic: #5b56a6, #21105b, #3c3380, #7d7acd, #a09ff6

## Questions about #5b56a6

### What color is #5b56a6?

#5b56a6 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 86, 166), in HSL hsl(243.75, 31.75%, 49.41%) and in OKLCH oklch(49.735% 0.12445 283.729).

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

The complementary color of #5b56a6 is #6f6400. For a calmer combination use the analogous colors #2763a7 and #7c4a94. The triadic partners are #9a461e and #00784e.

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

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

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

#5b56a6 is a cool color. In OKLCH its hue is 284 degrees, its lightness 49.7% and its chroma 0.124.
