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

#5a5ca7 is rgb(90, 92, 167) in RGB and oklch(50.911% 0.11723 280.222) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ca7 |
| RGB | rgb(90, 92, 167) |
| HSL | hsl(238.44, 30.43%, 50.39%) |
| HSB / HSV | hsv(238.44 46.11% 65.49%) |
| HWB | hwb(238.44 35.29% 34.51%) |
| CMYK | cmyk(46% 45% 0% 35%) |
| Lab | lab(41.67 14.88 -41.34) |
| LCH | lch(41.67 43.94 289.8) |
| OKLab | oklab(50.911% 0.02081 -0.11537) |
| OKLCH | oklch(50.911% 0.11723 280.222) |
| Display P3 | color(display-p3 0.35435 0.36053 0.63533) |
| Rec. 2020 | color(rec2020 0.31789 0.30762 0.5924) |
| Adobe RGB | color(a98-rgb 0.35668 0.36199 0.64013) |
| ProPhoto RGB | color(prophoto-rgb 0.34044 0.29988 0.55699) |
| Linear sRGB | color(srgb-linear 0.10224 0.10702 0.38643) |
| XYZ D65 | color(xyz-d65 0.15018 0.12618 0.38205) |
| XYZ D50 | color(xyz-d50 0.14109 0.1229 0.28776) |
| SwiftUI | Color(red: 0.353, green: 0.361, blue: 0.655) |
| UIKit | UIColor(red: 0.353, green: 0.361, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5CA7) |
| Android XML | #5A5CA7 |

## 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.96:1
- Contrast with black: 3.52:1

## Tints

#5a5ca7, #686cb0, #787cba, #878cc3, #979ccc, #a8acd5, #b8bcdd, #cacde6, #dbddee, #edeef7

## Shades

#5a5ca7, #4d4f91, #41427b, #353666, #292a52, #1e1f3e, #13142c, #090a1a, #03030a, #000001

## Tones

#5a5ca7, #5b5ea1, #5c5f9a, #5d6094, #5e618e, #5f6287, #606381, #62647a, #636573, #64656d

## Harmonies

- Complementary: #5a5ca7, #766600
- Split: #5a5ca7, #8f5700, #4f7321
- Analogous: #5a5ca7, #2869a6, #7b5097
- Triadic: #5a5ca7, #9c4b2d, #007a4e
- Tetradic: #5a5ca7, #91487a, #766600, #007a4e
- Square: #5a5ca7, #9d4556, #766600, #007874
- Monochromatic: #5a5ca7, #1f175d, #3b3a81, #7c80ce, #9fa5f6

## Questions about #5a5ca7

### What color is #5a5ca7?

#5a5ca7 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 92, 167), in HSL hsl(238.44, 30.43%, 50.39%) and in OKLCH oklch(50.911% 0.11723 280.222).

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

The complementary color of #5a5ca7 is #766600. For a calmer combination use the analogous colors #2869a6 and #7b5097. The triadic partners are #9c4b2d and #007a4e.

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

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

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

#5a5ca7 is a cool color. In OKLCH its hue is 280 degrees, its lightness 50.9% and its chroma 0.117.
