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

#5a59a6 is rgb(90, 89, 166) in RGB and oklch(50.246% 0.12015 281.759) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59a6 |
| RGB | rgb(90, 89, 166) |
| HSL | hsl(240.78, 30.2%, 50%) |
| HSB / HSV | hsv(240.78 46.39% 65.1%) |
| HWB | hwb(240.78 34.9% 34.9%) |
| CMYK | cmyk(46% 46% 0% 35%) |
| Lab | lab(40.81 16.41 -42.12) |
| LCH | lch(40.81 45.2 291.29) |
| OKLab | oklab(50.246% 0.02449 -0.11763) |
| OKLCH | oklch(50.246% 0.12015 281.759) |
| Display P3 | color(display-p3 0.35225 0.34915 0.6312) |
| Rec. 2020 | color(rec2020 0.31372 0.29642 0.58785) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.63609) |
| ProPhoto RGB | color(prophoto-rgb 0.33638 0.29049 0.55231) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.38133) |
| XYZ D65 | color(xyz-d65 0.14671 0.12071 0.37635) |
| XYZ D50 | color(xyz-d50 0.13762 0.11748 0.28343) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.651) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59A6) |
| Android XML | #5A59A6 |

## 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.15:1
- Contrast with black: 3.41:1

## Tints

#5a59a6, #6869b0, #7779b9, #878ac2, #979acb, #a7aad4, #b8bbdd, #cacce6, #dbddee, #edeef7

## Shades

#5a59a6, #4d4c90, #41407a, #353465, #292851, #1e1d3e, #13132b, #09091a, #03030a, #000001

## Tones

#5a59a6, #5b5ba0, #5b5c99, #5c5e93, #5d5f8c, #5e6086, #5f617f, #606279, #616372, #63636b

## Harmonies

- Complementary: #5a59a6, #736500
- Split: #5a59a6, #8d5600, #49711e
- Analogous: #5a59a6, #2766a6, #7a4d95
- Triadic: #5a59a6, #9b4826, #00784e
- Tetradic: #5a59a6, #914577, #736500, #00784e
- Square: #5a59a6, #9c4252, #736500, #007673
- Monochromatic: #5a59a6, #20145c, #3b3780, #7c7dcd, #9fa2f6

## Questions about #5a59a6

### What color is #5a59a6?

#5a59a6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 166), in HSL hsl(240.78, 30.2%, 50%) and in OKLCH oklch(50.246% 0.12015 281.759).

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

The complementary color of #5a59a6 is #736500. For a calmer combination use the analogous colors #2766a6 and #7a4d95. The triadic partners are #9b4826 and #00784e.

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

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

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

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