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

#5f54b2 is rgb(95, 84, 178) in RGB and oklch(50.484% 0.14401 285.336) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f54b2 |
| RGB | rgb(95, 84, 178) |
| HSL | hsl(247.02, 37.9%, 51.37%) |
| HSB / HSV | hsv(247.02 52.81% 69.8%) |
| HWB | hwb(247.02 32.94% 30.2%) |
| CMYK | cmyk(47% 53% 0% 30%) |
| Lab | lab(40.57 23.7 -49.53) |
| LCH | lch(40.57 54.91 295.57) |
| OKLab | oklab(50.484% 0.03809 -0.13889) |
| OKLCH | oklch(50.484% 0.14401 285.336) |
| Display P3 | color(display-p3 0.36534 0.33095 0.67539) |
| Rec. 2020 | color(rec2020 0.32453 0.28092 0.63539) |
| Adobe RGB | color(a98-rgb 0.3621 0.33229 0.68167) |
| ProPhoto RGB | color(prophoto-rgb 0.35167 0.28016 0.59912) |
| Linear sRGB | color(srgb-linear 0.11444 0.08866 0.4452) |
| XYZ D65 | color(xyz-d65 0.15924 0.11988 0.43596) |
| XYZ D50 | color(xyz-d50 0.14775 0.11601 0.32812) |
| SwiftUI | Color(red: 0.373, green: 0.329, blue: 0.698) |
| UIKit | UIColor(red: 0.373, green: 0.329, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5F54B2) |
| Android XML | #5F54B2 |

## 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.18:1
- Contrast with black: 3.4:1

## Tints

#5f54b2, #6d65bb, #7b76c3, #8a87cb, #9a98d3, #aaa9db, #babae3, #cbcbea, #dcdcf1, #ededf8

## Shades

#5f54b2, #52489a, #443c83, #38316d, #2c2657, #201b43, #15112f, #0a081d, #03020c, #000001

## Tones

#5f54b2, #5f57ab, #5f59a3, #605b9b, #605d94, #605f8c, #616085, #62617d, #636375, #63646d

## Harmonies

- Complementary: #5f54b2, #706700
- Split: #5f54b2, #8d5700, #3c7609
- Analogous: #5f54b2, #2064b4, #83469c
- Triadic: #5f54b2, #a44200, #007b52
- Tetradic: #5f54b2, #9b3c77, #706700, #007b52
- Square: #5f54b2, #a63949, #706700, #007678
- Monochromatic: #5f54b2, #250766, #40308b, #8178da, #a49eff

## Questions about #5f54b2

### What color is #5f54b2?

#5f54b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 84, 178), in HSL hsl(247.02, 37.9%, 51.37%) and in OKLCH oklch(50.484% 0.14401 285.336).

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

The complementary color of #5f54b2 is #706700. For a calmer combination use the analogous colors #2064b4 and #83469c. The triadic partners are #a44200 and #007b52.

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

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

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

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