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

#5a59b6 is rgb(90, 89, 182) in RGB and oklch(51.292% 0.14318 280.573) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59b6 |
| RGB | rgb(90, 89, 182) |
| HSL | hsl(240.65, 38.91%, 53.14%) |
| HSB / HSV | hsv(240.65 51.1% 71.37%) |
| HWB | hwb(240.65 34.9% 28.63%) |
| CMYK | cmyk(51% 51% 0% 29%) |
| Lab | lab(41.65 20.43 -50.19) |
| LCH | lch(41.65 54.19 292.15) |
| OKLab | oklab(51.292% 0.02627 -0.14075) |
| OKLCH | oklch(51.292% 0.14318 280.573) |
| Display P3 | color(display-p3 0.35225 0.34915 0.69073) |
| Rec. 2020 | color(rec2020 0.31979 0.29811 0.65217) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.69738) |
| ProPhoto RGB | color(prophoto-rgb 0.35222 0.29411 0.61622) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.46778) |
| XYZ D65 | color(xyz-d65 0.16231 0.12696 0.45853) |
| XYZ D50 | color(xyz-d50 0.14999 0.12272 0.34517) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.714) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59B6) |
| Android XML | #5A59B6 |

## 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: 5.93:1
- Contrast with black: 3.54:1

## Tints

#5a59b6, #686abe, #777ac6, #868bce, #969bd6, #a7abdd, #b8bce4, #c9cceb, #dbddf2, #edeef9

## Shades

#5a59b6, #4d4c9e, #414086, #35346f, #292859, #1e1d44, #131330, #09091d, #03030c, #000002

## Tones

#5a59b6, #5b5bae, #5c5da7, #5d5f9f, #5e6197, #5f628f, #606388, #626480, #636577, #65666f

## Harmonies

- Complementary: #5a59b6, #786700
- Split: #5a59b6, #955600, #497600
- Analogous: #5a59b6, #0a69b5, #804ba3
- Triadic: #5a59b6, #a84319, #007e4b
- Tetradic: #5a59b6, #9a4080, #786700, #007e4b
- Square: #5a59b6, #a83b53, #786700, #007a75
- Monochromatic: #5a59b6, #210f69, #3c358f, #7b7dde, #9fa3ff

## Questions about #5a59b6

### What color is #5a59b6?

#5a59b6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 182), in HSL hsl(240.65, 38.91%, 53.14%) and in OKLCH oklch(51.292% 0.14318 280.573).

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

The complementary color of #5a59b6 is #786700. For a calmer combination use the analogous colors #0a69b5 and #804ba3. The triadic partners are #a84319 and #007e4b.

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

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

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

#5a59b6 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.3% and its chroma 0.143.
