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

#5a5aa4 is rgb(90, 90, 164) in RGB and oklch(50.322% 0.11574 281.413) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5aa4 |
| RGB | rgb(90, 90, 164) |
| HSL | hsl(240, 29.13%, 49.8%) |
| HSB / HSV | hsv(240 45.12% 64.31%) |
| HWB | hwb(240 35.29% 35.69%) |
| CMYK | cmyk(45% 45% 0% 36%) |
| Lab | lab(40.98 15.33 -40.66) |
| LCH | lch(40.98 43.45 290.65) |
| OKLab | oklab(50.322% 0.0229 -0.11345) |
| OKLCH | oklch(50.322% 0.11574 281.413) |
| Display P3 | color(display-p3 0.35294 0.35294 0.62391) |
| Rec. 2020 | color(rec2020 0.31426 0.29992 0.58004) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.62855) |
| ProPhoto RGB | color(prophoto-rgb 0.33552 0.29312 0.54472) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.37124) |
| XYZ D65 | color(xyz-d65 0.14572 0.12166 0.36704) |
| XYZ D50 | color(xyz-d50 0.13708 0.11855 0.27645) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.643) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.643, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AA4) |
| Android XML | #5A5AA4 |

## 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.12:1
- Contrast with black: 3.43:1

## Tints

#5a5aa4, #686aae, #787ab7, #878ac1, #979aca, #a8abd3, #b8bbdc, #cacce5, #dbddee, #edeef6

## Shades

#5a5aa4, #4d4d8e, #414179, #353564, #292950, #1e1e3d, #13132b, #09091a, #03030a, #000001

## Tones

#5a5aa4, #5b5c9e, #5b5d98, #5c5e91, #5d5f8b, #5e6085, #5f617e, #606278, #626371, #63636b

## Harmonies

- Complementary: #5a5aa4, #736500
- Split: #5a5aa4, #8c5700, #4b7122
- Analogous: #5a5aa4, #2a66a4, #7a4f94
- Triadic: #5a5aa4, #9a4a2a, #00784e
- Tetradic: #5a5aa4, #8f4777, #736500, #00784e
- Square: #5a5aa4, #9a4453, #736500, #007673
- Monochromatic: #5a5aa4, #1f165a, #3b387e, #7c7ecb, #9fa3f3

## Questions about #5a5aa4

### What color is #5a5aa4?

#5a5aa4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 164), in HSL hsl(240, 29.13%, 49.8%) and in OKLCH oklch(50.322% 0.11574 281.413).

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

The complementary color of #5a5aa4 is #736500. For a calmer combination use the analogous colors #2a66a4 and #7a4f94. The triadic partners are #9a4a2a and #00784e.

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

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

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

#5a5aa4 is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.3% and its chroma 0.116.
