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

#5a59b2 is rgb(90, 89, 178) in RGB and oklch(51.023% 0.1375 280.863) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a59b2 |
| RGB | rgb(90, 89, 178) |
| HSL | hsl(240.67, 36.63%, 52.35%) |
| HSB / HSV | hsv(240.67 50% 69.8%) |
| HWB | hwb(240.67 34.9% 30.2%) |
| CMYK | cmyk(49% 50% 0% 30%) |
| Lab | lab(41.43 19.41 -48.19) |
| LCH | lch(41.43 51.96 291.94) |
| OKLab | oklab(51.023% 0.02591 -0.13503) |
| OKLCH | oklch(51.023% 0.1375 280.863) |
| Display P3 | color(display-p3 0.35225 0.34915 0.67584) |
| Rec. 2020 | color(rec2020 0.31821 0.29767 0.63603) |
| Adobe RGB | color(a98-rgb 0.35349 0.35083 0.68201) |
| ProPhoto RGB | color(prophoto-rgb 0.34814 0.29317 0.60005) |
| Linear sRGB | color(srgb-linear 0.10224 0.0999 0.4452) |
| XYZ D65 | color(xyz-d65 0.15824 0.12533 0.43706) |
| XYZ D50 | color(xyz-d50 0.14676 0.12135 0.32904) |
| SwiftUI | Color(red: 0.353, green: 0.349, blue: 0.698) |
| UIKit | UIColor(red: 0.353, green: 0.349, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5A59B2) |
| Android XML | #5A59B2 |

## 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.99:1
- Contrast with black: 3.51:1

## Tints

#5a59b2, #686abb, #777ac3, #878acb, #979bd3, #a7abdb, #b8bce3, #c9ccea, #dbddf1, #edeef8

## Shades

#5a59b2, #4d4c9a, #414083, #35346d, #292857, #1e1d43, #13132f, #09091d, #03030c, #000001

## Tones

#5a59b2, #5b5bab, #5c5da3, #5d5f9c, #5e6095, #5f628d, #606385, #61647e, #636576, #64656e

## Harmonies

- Complementary: #5a59b2, #766700
- Split: #5a59b2, #935600, #497504
- Analogous: #5a59b2, #1568b1, #7f4b9f
- Triadic: #5a59b2, #a5441c, #007d4b
- Tetradic: #5a59b2, #98417d, #766700, #007d4b
- Square: #5a59b2, #a53d53, #766700, #007975
- Monochromatic: #5a59b2, #211066, #3b368b, #7b7dda, #9fa3ff

## Questions about #5a59b2

### What color is #5a59b2?

#5a59b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 89, 178), in HSL hsl(240.67, 36.63%, 52.35%) and in OKLCH oklch(51.023% 0.1375 280.863).

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

The complementary color of #5a59b2 is #766700. For a calmer combination use the analogous colors #1568b1 and #7f4b9f. The triadic partners are #a5441c and #007d4b.

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

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

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

#5a59b2 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51% and its chroma 0.137.
