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

#5f55b2 is rgb(95, 85, 178) in RGB and oklch(50.669% 0.14256 284.991) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f55b2 |
| RGB | rgb(95, 85, 178) |
| HSL | hsl(246.45, 37.65%, 51.57%) |
| HSB / HSV | hsv(246.45 52.25% 69.8%) |
| HWB | hwb(246.45 33.33% 30.2%) |
| CMYK | cmyk(47% 52% 0% 30%) |
| Lab | lab(40.83 23.11 -49.13) |
| LCH | lch(40.83 54.29 295.19) |
| OKLab | oklab(50.669% 0.03688 -0.13771) |
| OKLCH | oklch(50.669% 0.14256 284.991) |
| Display P3 | color(display-p3 0.36596 0.33472 0.67551) |
| Rec. 2020 | color(rec2020 0.32567 0.28454 0.63555) |
| Adobe RGB | color(a98-rgb 0.36305 0.33599 0.68174) |
| ProPhoto RGB | color(prophoto-rgb 0.35259 0.28308 0.59933) |
| Linear sRGB | color(srgb-linear 0.11444 0.09084 0.4452) |
| XYZ D65 | color(xyz-d65 0.16003 0.12144 0.43622) |
| XYZ D50 | color(xyz-d50 0.14859 0.11757 0.32833) |
| SwiftUI | Color(red: 0.373, green: 0.333, blue: 0.698) |
| UIKit | UIColor(red: 0.373, green: 0.333, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5F55B2) |
| Android XML | #5F55B2 |

## 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.12:1
- Contrast with black: 3.43:1

## Tints

#5f55b2, #6d66bb, #7b77c3, #8a88cb, #9a98d3, #aaa9db, #babae3, #cbcbea, #dcdcf1, #edeef8

## Shades

#5f55b2, #52499a, #443d83, #38316d, #2c2657, #201c43, #15112f, #0a081d, #03020c, #000001

## Tones

#5f55b2, #5f58ab, #5f5aa3, #605c9c, #605e94, #615f8d, #616185, #62627d, #636375, #64646d

## Harmonies

- Complementary: #5f55b2, #716800
- Split: #5f55b2, #8e5800, #3d760c
- Analogous: #5f55b2, #2065b4, #83479c
- Triadic: #5f55b2, #a44305, #007b52
- Tetradic: #5f55b2, #9b3d78, #716800, #007b52
- Square: #5f55b2, #a63a4a, #716800, #007778
- Monochromatic: #5f55b2, #250966, #40318b, #8179da, #a49fff

## Questions about #5f55b2

### What color is #5f55b2?

#5f55b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 85, 178), in HSL hsl(246.45, 37.65%, 51.57%) and in OKLCH oklch(50.669% 0.14256 284.991).

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

The complementary color of #5f55b2 is #716800. For a calmer combination use the analogous colors #2065b4 and #83479c. The triadic partners are #a44305 and #007b52.

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

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

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

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