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

#5a5eb0 is rgb(90, 94, 176) in RGB and oklch(51.876% 0.12753 278.857) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5eb0 |
| RGB | rgb(90, 94, 176) |
| HSL | hsl(237.21, 35.25%, 52.16%) |
| HSB / HSV | hsv(237.21 48.86% 69.02%) |
| HWB | hwb(237.21 35.29% 30.98%) |
| CMYK | cmyk(49% 47% 0% 31%) |
| Lab | lab(42.66 15.95 -45.07) |
| LCH | lch(42.66 47.81 289.49) |
| OKLab | oklab(51.876% 0.01964 -0.126) |
| OKLCH | oklch(51.876% 0.12753 278.857) |
| Display P3 | color(display-p3 0.35579 0.36812 0.66904) |
| Rec. 2020 | color(rec2020 0.3238 0.31594 0.62884) |
| Adobe RGB | color(a98-rgb 0.35887 0.36945 0.67469) |
| ProPhoto RGB | color(prophoto-rgb 0.35126 0.30799 0.59321) |
| Linear sRGB | color(srgb-linear 0.10224 0.11193 0.43415) |
| XYZ D65 | color(xyz-d65 0.16055 0.13313 0.428) |
| XYZ D50 | color(xyz-d50 0.14981 0.12931 0.32232) |
| SwiftUI | Color(red: 0.353, green: 0.369, blue: 0.69) |
| UIKit | UIColor(red: 0.353, green: 0.369, blue: 0.69, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5EB0) |
| Android XML | #5A5EB0 |

## 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.73:1
- Contrast with black: 3.66:1

## Tints

#5a5eb0, #686eb9, #777ec1, #878ec9, #979dd2, #a7adda, #b8bde1, #cacee9, #dbdef1, #edeef8

## Shades

#5a5eb0, #4d5199, #414482, #35376c, #292b56, #1e1f42, #13142e, #090a1c, #03030b, #000001

## Tones

#5a5eb0, #5b60a9, #5c61a2, #5e639b, #5f6494, #60658d, #626686, #63677f, #656777, #676870

## Harmonies

- Complementary: #5a5eb0, #7b6800
- Split: #5a5eb0, #975800, #517615
- Analogous: #5a5eb0, #1d6cae, #7e51a0
- Triadic: #5a5eb0, #a44a2b, #007e4c
- Tetradic: #5a5eb0, #964881, #7b6800, #007e4c
- Square: #5a5eb0, #a34459, #7b6800, #007c75
- Monochromatic: #5a5eb0, #201865, #3b3b8a, #7c82d8, #9fa7ff

## Questions about #5a5eb0

### What color is #5a5eb0?

#5a5eb0 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 94, 176), in HSL hsl(237.21, 35.25%, 52.16%) and in OKLCH oklch(51.876% 0.12753 278.857).

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

The complementary color of #5a5eb0 is #7b6800. For a calmer combination use the analogous colors #1d6cae and #7e51a0. The triadic partners are #a44a2b and #007e4c.

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

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

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

#5a5eb0 is a cool color. In OKLCH its hue is 279 degrees, its lightness 51.9% and its chroma 0.128.
