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

#5a5ca2 is rgb(90, 92, 162) in RGB and oklch(50.607% 0.10983 280.474) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ca2 |
| RGB | rgb(90, 92, 162) |
| HSL | hsl(238.33, 28.57%, 49.41%) |
| HSB / HSV | hsv(238.33 44.44% 63.53%) |
| HWB | hwb(238.33 35.29% 36.47%) |
| CMYK | cmyk(44% 43% 0% 36%) |
| Lab | lab(41.43 13.66 -38.77) |
| LCH | lch(41.43 41.1 289.41) |
| OKLab | oklab(50.607% 0.01997 -0.108) |
| OKLCH | oklch(50.607% 0.10983 280.474) |
| Display P3 | color(display-p3 0.35435 0.36053 0.61677) |
| Rec. 2020 | color(rec2020 0.31613 0.30714 0.57244) |
| Adobe RGB | color(a98-rgb 0.35668 0.36199 0.62109) |
| ProPhoto RGB | color(prophoto-rgb 0.33576 0.29885 0.53742) |
| Linear sRGB | color(srgb-linear 0.10224 0.10702 0.36131) |
| XYZ D65 | color(xyz-d65 0.14564 0.12436 0.35817) |
| XYZ D50 | color(xyz-d50 0.1375 0.12137 0.26982) |
| SwiftUI | Color(red: 0.353, green: 0.361, blue: 0.635) |
| UIKit | UIColor(red: 0.353, green: 0.361, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5CA2) |
| Android XML | #5A5CA2 |

## 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.02:1
- Contrast with black: 3.49:1

## Tints

#5a5ca2, #696cac, #787cb5, #878bbf, #979bc8, #a8acd2, #b9bcdb, #cacce4, #dbdded, #edeef6

## Shades

#5a5ca2, #4d4f8c, #414277, #353663, #292a4f, #1e1f3c, #13142a, #090a19, #03030a, #000001

## Tones

#5a5ca2, #5b5d9c, #5c5f96, #5d6090, #5e618a, #5f6284, #60627e, #616378, #626472, #63646b

## Harmonies

- Complementary: #5a5ca2, #736600
- Split: #5a5ca2, #8c5800, #4f7127
- Analogous: #5a5ca2, #2d68a1, #795193
- Triadic: #5a5ca2, #984c30, #0d784f
- Tetradic: #5a5ca2, #8e4978, #736600, #0d784f
- Square: #5a5ca2, #994756, #736600, #007773
- Monochromatic: #5a5ca2, #1f1858, #3b3a7c, #7c80c9, #a0a5f1

## Questions about #5a5ca2

### What color is #5a5ca2?

#5a5ca2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 92, 162), in HSL hsl(238.33, 28.57%, 49.41%) and in OKLCH oklch(50.607% 0.10983 280.474).

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

The complementary color of #5a5ca2 is #736600. For a calmer combination use the analogous colors #2d68a1 and #795193. The triadic partners are #984c30 and #0d784f.

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

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

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

#5a5ca2 is a cool color. In OKLCH its hue is 280 degrees, its lightness 50.6% and its chroma 0.11.
