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

#5a59b4 is rgb(90, 89, 180) in RGB and oklch(51.157% 0.14035 280.717) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59b4 |
| RGB | rgb(90, 89, 180) |
| HSL | hsl(240.66, 37.76%, 52.75%) |
| HSB / HSV | hsv(240.66 50.56% 70.59%) |
| HWB | hwb(240.66 34.9% 29.41%) |
| CMYK | cmyk(50% 51% 0% 29%) |
| Lab | lab(41.54 19.92 -49.19) |
| LCH | lch(41.54 53.07 292.04) |
| OKLab | oklab(51.157% 0.0261 -0.1379) |
| OKLCH | oklch(51.157% 0.14035 280.717) |
| Display P3 | color(display-p3 0.35225 0.34915 0.68328) |
| Rec. 2020 | color(rec2020 0.319 0.29788 0.64409) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.68969) |
| ProPhoto RGB | color(prophoto-rgb 0.35017 0.29364 0.60812) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.45641) |
| XYZ D65 | color(xyz-d65 0.16026 0.12613 0.44772) |
| XYZ D50 | color(xyz-d50 0.14836 0.12203 0.33704) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.706) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59B4) |
| Android XML | #5A59B4 |

## 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.96:1
- Contrast with black: 3.52:1

## Tints

#5a59b4, #686abc, #777ac5, #878acd, #979bd4, #a7abdc, #b8bce3, #c9cceb, #dbddf2, #edeef8

## Shades

#5a59b4, #4d4c9c, #414085, #35346e, #292858, #1e1d44, #131330, #09091d, #03030c, #000002

## Tones

#5a59b4, #5b5bad, #5c5da5, #5d5f9d, #5e6096, #5f628e, #606387, #62647f, #636577, #65666f

## Harmonies

- Complementary: #5a59b4, #776700
- Split: #5a59b4, #945600, #497500
- Analogous: #5a59b4, #1068b3, #804ba1
- Triadic: #5a59b4, #a6441b, #007e4b
- Tetradic: #5a59b4, #99407e, #776700, #007e4b
- Square: #5a59b4, #a63c53, #776700, #007975
- Monochromatic: #5a59b4, #210f68, #3b368d, #7b7ddc, #9fa3ff

## Questions about #5a59b4

### What color is #5a59b4?

#5a59b4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 180), in HSL hsl(240.66, 37.76%, 52.75%) and in OKLCH oklch(51.157% 0.14035 280.717).

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

The complementary color of #5a59b4 is #776700. For a calmer combination use the analogous colors #1068b3 and #804ba1. The triadic partners are #a6441b and #007e4b.

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

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

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

#5a59b4 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.2% and its chroma 0.14.
