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

#5a5fa9 is rgb(90, 95, 169) in RGB and oklch(51.643% 0.11586 278.594) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5fa9 |
| RGB | rgb(90, 95, 169) |
| HSL | hsl(236.2, 31.47%, 50.78%) |
| HSB / HSV | hsv(236.2 46.75% 66.27%) |
| HWB | hwb(236.2 35.29% 33.73%) |
| CMYK | cmyk(47% 44% 0% 34%) |
| Lab | lab(42.59 13.61 -41.07) |
| LCH | lch(42.59 43.27 288.33) |
| OKLab | oklab(51.643% 0.01731 -0.11456) |
| OKLCH | oklch(51.643% 0.11586 278.594) |
| Display P3 | color(display-p3 0.35652 0.37192 0.64317) |
| Rec. 2020 | color(rec2020 0.32253 0.31898 0.60096) |
| Adobe RGB | color(a98-rgb 0.35997 0.37318 0.648) |
| ProPhoto RGB | color(prophoto-rgb 0.34553 0.30961 0.56564) |
| Linear sRGB | color(srgb-linear 0.10224 0.11444 0.39676) |
| XYZ D65 | color(xyz-d65 0.15469 0.13222 0.39275) |
| XYZ D50 | color(xyz-d50 0.14543 0.12884 0.29586) |
| SwiftUI | Color(red: 0.353, green: 0.373, blue: 0.663) |
| UIKit | UIColor(red: 0.353, green: 0.373, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5FA9) |
| Android XML | #5A5FA9 |

## 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.76:1
- Contrast with black: 3.64:1

## Tints

#5a5fa9, #696fb2, #787ebb, #878ec4, #979ecd, #a8add6, #b9bdde, #cacee7, #dbdeef, #edeef7

## Shades

#5a5fa9, #4d5292, #41447c, #353867, #292c53, #1e203f, #13152c, #090a1b, #03030a, #000001

## Tones

#5a5fa9, #5b60a3, #5c629c, #5d6396, #5f6490, #606589, #626683, #63667c, #656775, #66676f

## Harmonies

- Complementary: #5a5fa9, #796800
- Split: #5a5fa9, #925900, #537422
- Analogous: #5a5fa9, #276ca7, #7b539a
- Triadic: #5a5fa9, #9e4d32, #0d7b4e
- Tetradic: #5a5fa9, #924b7e, #796800, #0d7b4e
- Square: #5a5fa9, #9e485a, #796800, #007b74
- Monochromatic: #5a5fa9, #1f1b5f, #3b3d83, #7c83d0, #a0a8f9

## Questions about #5a5fa9

### What color is #5a5fa9?

#5a5fa9 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 95, 169), in HSL hsl(236.2, 31.47%, 50.78%) and in OKLCH oklch(51.643% 0.11586 278.594).

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

The complementary color of #5a5fa9 is #796800. For a calmer combination use the analogous colors #276ca7 and #7b539a. The triadic partners are #9e4d32 and #0d7b4e.

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

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

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

#5a5fa9 is a cool color. In OKLCH its hue is 279 degrees, its lightness 51.6% and its chroma 0.116.
