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

#5a5ab5 is rgb(90, 90, 181) in RGB and oklch(51.416% 0.14036 280.265) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ab5 |
| RGB | rgb(90, 90, 181) |
| HSL | hsl(240, 38.08%, 53.14%) |
| HSB / HSV | hsv(240 50.28% 70.98%) |
| HWB | hwb(240 35.29% 29.02%) |
| CMYK | cmyk(50% 50% 0% 29%) |
| Lab | lab(41.85 19.58 -49.27) |
| LCH | lch(41.85 53.02 291.67) |
| OKLab | oklab(51.416% 0.02501 -0.13811) |
| OKLCH | oklch(51.416% 0.14036 280.265) |
| Display P3 | color(display-p3 0.35294 0.35294 0.68713) |
| Rec. 2020 | color(rec2020 0.32063 0.30167 0.64829) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.6936) |
| ProPhoto RGB | color(prophoto-rgb 0.35219 0.29689 0.61239) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.46208) |
| XYZ D65 | color(xyz-d65 0.16212 0.12822 0.45338) |
| XYZ D50 | color(xyz-d50 0.15008 0.12405 0.34132) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.71) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AB5) |
| Android XML | #5A5AB5 |

## 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.89:1
- Contrast with black: 3.56:1

## Tints

#5a5ab5, #686bbd, #777bc5, #878bcd, #979bd5, #a7acdd, #b8bce4, #c9cdeb, #dbddf2, #edeef9

## Shades

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

## Tones

#5a5ab5, #5b5cad, #5c5ea6, #5d609e, #5e6197, #5f638f, #616487, #626580, #646678, #65676f

## Harmonies

- Complementary: #5a5ab5, #786700
- Split: #5a5ab5, #955600, #4b7600
- Analogous: #5a5ab5, #0f69b4, #804ca2
- Triadic: #5a5ab5, #a7441d, #007e4a
- Tetradic: #5a5ab5, #9a4180, #786700, #007e4a
- Square: #5a5ab5, #a73d54, #786700, #007a75
- Monochromatic: #5a5ab5, #211169, #3b378e, #7b7edd, #9fa4ff

## Questions about #5a5ab5

### What color is #5a5ab5?

#5a5ab5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 181), in HSL hsl(240, 38.08%, 53.14%) and in OKLCH oklch(51.416% 0.14036 280.265).

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

The complementary color of #5a5ab5 is #786700. For a calmer combination use the analogous colors #0f69b4 and #804ca2. The triadic partners are #a7441d and #007e4a.

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

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

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

#5a5ab5 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.4% and its chroma 0.14.
