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

#5a5eb5 is rgb(90, 94, 181) in RGB and oklch(52.198% 0.13474 278.655) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5eb5 |
| RGB | rgb(90, 94, 181) |
| HSL | hsl(237.36, 38.08%, 53.14%) |
| HSB / HSV | hsv(237.36 50.28% 70.98%) |
| HWB | hwb(237.36 35.29% 29.02%) |
| CMYK | cmyk(50% 48% 0% 29%) |
| Lab | lab(42.91 17.22 -47.58) |
| LCH | lch(42.91 50.6 289.9) |
| OKLab | oklab(52.198% 0.02028 -0.13321) |
| OKLCH | oklch(52.198% 0.13474 278.655) |
| Display P3 | color(display-p3 0.35579 0.36812 0.68763) |
| Rec. 2020 | color(rec2020 0.32571 0.31646 0.64897) |
| Adobe RGB | color(a98-rgb 0.35887 0.36945 0.69388) |
| ProPhoto RGB | color(prophoto-rgb 0.35626 0.30911 0.61333) |
| Linear sRGB | color(srgb-linear 0.10224 0.11193 0.46208) |
| XYZ D65 | color(xyz-d65 0.16558 0.13515 0.45454) |
| XYZ D50 | color(xyz-d50 0.15381 0.131 0.34226) |
| SwiftUI | Color(red: 0.353, green: 0.369, blue: 0.71) |
| UIKit | UIColor(red: 0.353, green: 0.369, blue: 0.71, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5EB5) |
| Android XML | #5A5EB5 |

## 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.67:1
- Contrast with black: 3.7:1

## Tints

#5a5eb5, #686ebd, #777ec5, #878ecd, #979ed5, #a7aedc, #b8bee4, #c9ceeb, #dbdef2, #edeef8

## Shades

#5a5eb5, #4d519d, #414486, #35376f, #292b59, #1e1f44, #131430, #090a1d, #03030c, #000002

## Tones

#5a5eb5, #5b60ae, #5c62a6, #5e639f, #5f6498, #616690, #626789, #646781, #666879, #676971

## Harmonies

- Complementary: #5a5eb5, #7d6900
- Split: #5a5eb5, #9a5700, #517708
- Analogous: #5a5eb5, #136db3, #8050a4
- Triadic: #5a5eb5, #a84828, #00804b
- Tetradic: #5a5eb5, #994683, #7d6900, #00804b
- Square: #5a5eb5, #a7425a, #7d6900, #007d76
- Monochromatic: #5a5eb5, #201769, #3b3b8e, #7c82dd, #9fa8ff

## Questions about #5a5eb5

### What color is #5a5eb5?

#5a5eb5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 94, 181), in HSL hsl(237.36, 38.08%, 53.14%) and in OKLCH oklch(52.198% 0.13474 278.655).

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

The complementary color of #5a5eb5 is #7d6900. For a calmer combination use the analogous colors #136db3 and #8050a4. The triadic partners are #a84828 and #00804b.

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

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

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

#5a5eb5 is a cool color. In OKLCH its hue is 279 degrees, its lightness 52.2% and its chroma 0.135.
