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

#5f54b1 is rgb(95, 84, 177) in RGB and oklch(50.416% 0.14262 285.464) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f54b1 |
| RGB | rgb(95, 84, 177) |
| HSL | hsl(247.1, 37.35%, 51.18%) |
| HSB / HSV | hsv(247.1 52.54% 69.41%) |
| HWB | hwb(247.1 32.94% 30.59%) |
| CMYK | cmyk(46% 53% 0% 31%) |
| Lab | lab(40.52 23.45 -49.03) |
| LCH | lch(40.52 54.35 295.56) |
| OKLab | oklab(50.416% 0.03803 -0.13746) |
| OKLCH | oklch(50.416% 0.14262 285.464) |
| Display P3 | color(display-p3 0.36534 0.33095 0.67166) |
| Rec. 2020 | color(rec2020 0.32415 0.28081 0.63136) |
| Adobe RGB | color(a98-rgb 0.3621 0.33229 0.67783) |
| ProPhoto RGB | color(prophoto-rgb 0.35067 0.27992 0.59509) |
| Linear sRGB | color(srgb-linear 0.11444 0.08866 0.43966) |
| XYZ D65 | color(xyz-d65 0.15824 0.11948 0.43069) |
| XYZ D50 | color(xyz-d50 0.14695 0.11567 0.32416) |
| SwiftUI | Color(red: 0.373, green: 0.329, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.329, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F54B1) |
| Android XML | #5F54B1 |

## 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

#5f54b1, #6d65ba, #7b76c2, #8a87cb, #9a98d3, #aaa9db, #babae2, #cbcbea, #dcdcf1, #ededf8

## Shades

#5f54b1, #524899, #443c83, #38316c, #2c2657, #201b42, #15112f, #0a081c, #03020c, #000001

## Tones

#5f54b1, #5f57aa, #5f59a2, #5f5b9b, #605d93, #605e8c, #616084, #62617c, #626274, #63636c

## Harmonies

- Complementary: #5f54b1, #6f6700
- Split: #5f54b1, #8d5700, #3c750c
- Analogous: #5f54b1, #2164b3, #83469b
- Triadic: #5f54b1, #a34301, #007a52
- Tetradic: #5f54b1, #9a3c76, #6f6700, #007a52
- Square: #5f54b1, #a63949, #6f6700, #007677
- Monochromatic: #5f54b1, #250865, #40308a, #8178d9, #a49dff

## Questions about #5f54b1

### What color is #5f54b1?

#5f54b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 84, 177), in HSL hsl(247.1, 37.35%, 51.18%) and in OKLCH oklch(50.416% 0.14262 285.464).

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

The complementary color of #5f54b1 is #6f6700. For a calmer combination use the analogous colors #2164b3 and #83469b. The triadic partners are #a34301 and #007a52.

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

White text reads better on #5f54b1: 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 #5f54b1 a warm or cool color?

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