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

#5a5ab6 is rgb(90, 90, 182) in RGB and oklch(51.484% 0.14178 280.198) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ab6 |
| RGB | rgb(90, 90, 182) |
| HSL | hsl(240, 38.66%, 53.33%) |
| HSB / HSV | hsv(240 50.55% 71.37%) |
| HWB | hwb(240 35.29% 28.63%) |
| CMYK | cmyk(51% 51% 0% 29%) |
| Lab | lab(41.91 19.84 -49.77) |
| LCH | lch(41.91 53.58 291.73) |
| OKLab | oklab(51.484% 0.0251 -0.13954) |
| OKLCH | oklch(51.484% 0.14178 280.198) |
| Display P3 | color(display-p3 0.35294 0.35294 0.69085) |
| Rec. 2020 | color(rec2020 0.32103 0.30178 0.65233) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.69745) |
| ProPhoto RGB | color(prophoto-rgb 0.35321 0.29713 0.61644) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.46778) |
| XYZ D65 | color(xyz-d65 0.16315 0.12863 0.45881) |
| XYZ D50 | color(xyz-d50 0.15089 0.1244 0.34539) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.714) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AB6) |
| Android XML | #5A5AB6 |

## 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.88:1
- Contrast with black: 3.57:1

## Tints

#5a5ab6, #686bbe, #777bc6, #878bce, #979cd6, #a7acdd, #b8bce4, #c9cdeb, #dbddf2, #edeef9

## Shades

#5a5ab6, #4d4d9e, #414186, #35356f, #292959, #1e1e44, #131330, #09091d, #03030c, #000002

## Tones

#5a5ab6, #5b5cae, #5c5ea7, #5d609f, #5e6197, #5f6390, #616488, #626580, #646678, #666770

## Harmonies

- Complementary: #5a5ab6, #796800
- Split: #5a5ab6, #965700, #4b7600
- Analogous: #5a5ab6, #0c6ab5, #804ca3
- Triadic: #5a5ab6, #a8441c, #007f4a
- Tetradic: #5a5ab6, #9a4180, #796800, #007f4a
- Square: #5a5ab6, #a83d54, #796800, #007a75
- Monochromatic: #5a5ab6, #21106a, #3b368f, #7b7ede, #9fa4ff

## Questions about #5a5ab6

### What color is #5a5ab6?

#5a5ab6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 182), in HSL hsl(240, 38.66%, 53.33%) and in OKLCH oklch(51.484% 0.14178 280.198).

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

The complementary color of #5a5ab6 is #796800. For a calmer combination use the analogous colors #0c6ab5 and #804ca3. The triadic partners are #a8441c and #007f4a.

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

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

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

#5a5ab6 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.5% and its chroma 0.142.
