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

#5a59a2 is rgb(90, 89, 162) in RGB and oklch(49.997% 0.11426 282.067) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59a2 |
| RGB | rgb(90, 89, 162) |
| HSL | hsl(240.82, 29.08%, 49.22%) |
| HSB / HSV | hsv(240.82 45.06% 63.53%) |
| HWB | hwb(240.82 34.9% 36.47%) |
| CMYK | cmyk(44% 45% 0% 36%) |
| Lab | lab(40.62 15.43 -40.06) |
| LCH | lch(40.62 42.93 291.07) |
| OKLab | oklab(49.997% 0.02389 -0.11174) |
| OKLCH | oklch(49.997% 0.11426 282.067) |
| Display P3 | color(display-p3 0.35225 0.34915 0.61634) |
| Rec. 2020 | color(rec2020 0.31229 0.29602 0.57187) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.62086) |
| ProPhoto RGB | color(prophoto-rgb 0.33262 0.28965 0.53666) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.36131) |
| XYZ D65 | color(xyz-d65 0.14309 0.11927 0.35732) |
| XYZ D50 | color(xyz-d50 0.13476 0.11627 0.26913) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.635) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59A2) |
| Android XML | #5A59A2 |

## 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.2:1
- Contrast with black: 3.39:1

## Tints

#5a59a2, #6869ac, #7879b6, #8789bf, #979ac9, #a8aad2, #b8bbdb, #cacce4, #dbdded, #edeef6

## Shades

#5a59a2, #4d4c8c, #414077, #353463, #29284f, #1e1d3c, #13132a, #090919, #03030a, #000001

## Tones

#5a59a2, #5b5b9c, #5b5c96, #5c5d90, #5d5e8a, #5e5f83, #5f607d, #606177, #616270, #62636a

## Harmonies

- Complementary: #5a59a2, #716400
- Split: #5a59a2, #8a5600, #4a7024
- Analogous: #5a59a2, #2b65a2, #794e92
- Triadic: #5a59a2, #984a29, #00774f
- Tetradic: #5a59a2, #8e4675, #716400, #00774f
- Square: #5a59a2, #994452, #716400, #007573
- Monochromatic: #5a59a2, #1f1558, #3b377c, #7c7dc9, #9fa2f1

## Questions about #5a59a2

### What color is #5a59a2?

#5a59a2 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 162), in HSL hsl(240.82, 29.08%, 49.22%) and in OKLCH oklch(49.997% 0.11426 282.067).

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

The complementary color of #5a59a2 is #716400. For a calmer combination use the analogous colors #2b65a2 and #794e92. The triadic partners are #984a29 and #00774f.

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

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

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

#5a59a2 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50% and its chroma 0.114.
