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

#5e54b2 is rgb(94, 84, 178) in RGB and oklch(50.4% 0.14411 284.807) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5e54b2 |
| RGB | rgb(94, 84, 178) |
| HSL | hsl(246.38, 37.9%, 51.37%) |
| HSB / HSV | hsv(246.38 52.81% 69.8%) |
| HWB | hwb(246.38 32.94% 30.2%) |
| CMYK | cmyk(47% 53% 0% 30%) |
| Lab | lab(40.48 23.43 -49.68) |
| LCH | lch(40.48 54.93 295.24) |
| OKLab | oklab(50.4% 0.03683 -0.13933) |
| OKLCH | oklch(50.4% 0.14411 284.807) |
| Display P3 | color(display-p3 0.36204 0.3308 0.67536) |
| Rec. 2020 | color(rec2020 0.32203 0.28061 0.63536) |
| Adobe RGB | color(a98-rgb 0.35933 0.33229 0.68167) |
| ProPhoto RGB | color(prophoto-rgb 0.34997 0.27978 0.59908) |
| Linear sRGB | color(srgb-linear 0.11193 0.08866 0.4452) |
| XYZ D65 | color(xyz-d65 0.15821 0.11935 0.43591) |
| XYZ D50 | color(xyz-d50 0.14665 0.11545 0.32808) |
| SwiftUI | Color(red: 0.369, green: 0.329, blue: 0.698) |
| UIKit | UIColor(red: 0.369, green: 0.329, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5E54B2) |
| Android XML | #5E54B2 |

## 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: 6.2:1
- Contrast with black: 3.39:1

## Tints

#5e54b2, #6c65bb, #7a76c3, #8987cb, #9998d3, #a9a9db, #babae3, #cacbea, #dcdcf1, #ededf8

## Shades

#5e54b2, #51489a, #443c83, #37316d, #2b2657, #1f1b43, #14112f, #0a081d, #03020c, #000001

## Tones

#5e54b2, #5e57ab, #5e59a3, #5f5b9b, #5f5d94, #605e8c, #606084, #61617d, #626275, #63636d

## Harmonies

- Complementary: #5e54b2, #706700
- Split: #5e54b2, #8d5700, #3d7505
- Analogous: #5e54b2, #1d64b4, #82469c
- Triadic: #5e54b2, #a44201, #007a51
- Tetradic: #5e54b2, #9a3b77, #706700, #007a51
- Square: #5e54b2, #a63849, #706700, #007677
- Monochromatic: #5e54b2, #240766, #3f308b, #7f78da, #a39eff

## Questions about #5e54b2

### What color is #5e54b2?

#5e54b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(94, 84, 178), in HSL hsl(246.38, 37.9%, 51.37%) and in OKLCH oklch(50.4% 0.14411 284.807).

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

The complementary color of #5e54b2 is #706700. For a calmer combination use the analogous colors #1d64b4 and #82469c. The triadic partners are #a44201 and #007a51.

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

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

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

#5e54b2 is a cool color. In OKLCH its hue is 285 degrees, its lightness 50.4% and its chroma 0.144.
