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

#5b59a6 is rgb(91, 89, 166) in RGB and oklch(50.326% 0.12 282.365) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b59a6 |
| RGB | rgb(91, 89, 166) |
| HSL | hsl(241.56, 30.2%, 50%) |
| HSB / HSV | hsv(241.56 46.39% 65.1%) |
| HWB | hwb(241.56 34.9% 34.9%) |
| CMYK | cmyk(45% 46% 0% 35%) |
| Lab | lab(40.9 16.7 -41.97) |
| LCH | lch(40.9 45.17 291.69) |
| OKLab | oklab(50.326% 0.0257 -0.11722) |
| OKLCH | oklch(50.326% 0.12 282.365) |
| Display P3 | color(display-p3 0.35549 0.34928 0.63123) |
| Rec. 2020 | color(rec2020 0.31615 0.2967 0.58788) |
| Adobe RGB | color(a98-rgb 0.35617 0.35083 0.63609) |
| ProPhoto RGB | color(prophoto-rgb 0.33804 0.29084 0.55235) |
| Linear sRGB | color(srgb-linear 0.10462 0.0999 0.38133) |
| XYZ D65 | color(xyz-d65 0.14769 0.12122 0.37639) |
| XYZ D50 | color(xyz-d50 0.13866 0.11801 0.28346) |
| SwiftUI | Color(red: 0.357, green: 0.349, blue: 0.651) |
| UIKit | UIColor(red: 0.357, green: 0.349, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5B59A6) |
| Android XML | #5B59A6 |

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

## Tints

#5b59a6, #6969b0, #7879b9, #888ac2, #989acb, #a8aad4, #b9bbdd, #cacce6, #dbddee, #edeef7

## Shades

#5b59a6, #4e4c90, #41407a, #353465, #292851, #1e1d3e, #13132b, #09091a, #03030a, #000001

## Tones

#5b59a6, #5c5ba0, #5c5c99, #5d5e93, #5e5f8c, #5f6086, #60617f, #616279, #626372, #63636b

## Harmonies

- Complementary: #5b59a6, #726500
- Split: #5b59a6, #8d5600, #497220
- Analogous: #5b59a6, #2966a6, #7b4d95
- Triadic: #5b59a6, #9b4926, #00794f
- Tetradic: #5b59a6, #914577, #726500, #00794f
- Square: #5b59a6, #9c4351, #726500, #007674
- Monochromatic: #5b59a6, #20145c, #3c3780, #7d7dcd, #a0a2f5

## Questions about #5b59a6

### What color is #5b59a6?

#5b59a6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 89, 166), in HSL hsl(241.56, 30.2%, 50%) and in OKLCH oklch(50.326% 0.12 282.365).

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

The complementary color of #5b59a6 is #726500. For a calmer combination use the analogous colors #2966a6 and #7b4d95. The triadic partners are #9b4926 and #00794f.

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

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

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

#5b59a6 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.3% and its chroma 0.12.
