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

#5a59a4 is rgb(90, 89, 164) in RGB and oklch(50.121% 0.11721 281.912) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59a4 |
| RGB | rgb(90, 89, 164) |
| HSL | hsl(240.8, 29.64%, 49.61%) |
| HSB / HSV | hsv(240.8 45.73% 64.31%) |
| HWB | hwb(240.8 34.9% 35.69%) |
| CMYK | cmyk(45% 46% 0% 36%) |
| Lab | lab(40.71 15.92 -41.09) |
| LCH | lch(40.71 44.06 291.18) |
| OKLab | oklab(50.121% 0.02419 -0.11469) |
| OKLCH | oklch(50.121% 0.11721 281.912) |
| Display P3 | color(display-p3 0.35225 0.34915 0.62377) |
| Rec. 2020 | color(rec2020 0.313 0.29622 0.57986) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.62847) |
| ProPhoto RGB | color(prophoto-rgb 0.33449 0.29007 0.54447) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.37124) |
| XYZ D65 | color(xyz-d65 0.14489 0.11999 0.36676) |
| XYZ D50 | color(xyz-d50 0.13618 0.11687 0.27622) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.643) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.643, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59A4) |
| Android XML | #5A59A4 |

## 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.18:1
- Contrast with black: 3.4:1

## Tints

#5a59a4, #6869ae, #7779b7, #8789c1, #979aca, #a8aad3, #b8bbdc, #cacce5, #dbddee, #edeef6

## Shades

#5a59a4, #4d4c8e, #414079, #353464, #292850, #1e1d3d, #13132b, #09091a, #03030a, #000001

## Tones

#5a59a4, #5b5b9e, #5b5c98, #5c5d91, #5d5f8b, #5e6085, #5f617e, #606178, #616271, #62636a

## Harmonies

- Complementary: #5a59a4, #726500
- Split: #5a59a4, #8c5600, #4a7121
- Analogous: #5a59a4, #2966a4, #7a4e93
- Triadic: #5a59a4, #994928, #00774e
- Tetradic: #5a59a4, #8f4576, #726500, #00774e
- Square: #5a59a4, #9a4352, #726500, #007673
- Monochromatic: #5a59a4, #20145a, #3b377e, #7c7dcb, #9fa2f3

## Questions about #5a59a4

### What color is #5a59a4?

#5a59a4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 164), in HSL hsl(240.8, 29.64%, 49.61%) and in OKLCH oklch(50.121% 0.11721 281.912).

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

The complementary color of #5a59a4 is #726500. For a calmer combination use the analogous colors #2966a4 and #7a4e93. The triadic partners are #994928 and #00774e.

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

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

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

#5a59a4 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.1% and its chroma 0.117.
