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

#5f5db1 is rgb(95, 93, 177) in RGB and oklch(52.129% 0.12952 282.001) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5db1 |
| RGB | rgb(95, 93, 177) |
| HSL | hsl(241.43, 35%, 52.94%) |
| HSB / HSV | hsv(241.43 47.46% 69.41%) |
| HWB | hwb(241.43 36.47% 30.59%) |
| CMYK | cmyk(46% 47% 0% 31%) |
| Lab | lab(42.85 18.17 -45.32) |
| LCH | lch(42.85 48.82 291.85) |
| OKLab | oklab(52.129% 0.02693 -0.12669) |
| OKLCH | oklch(52.129% 0.12952 282.001) |
| Display P3 | color(display-p3 0.37117 0.36497 0.67278) |
| Rec. 2020 | color(rec2020 0.33486 0.31371 0.63285) |
| Adobe RGB | color(a98-rgb 0.37107 0.36572 0.67845) |
| ProPhoto RGB | color(prophoto-rgb 0.35941 0.30685 0.59715) |
| Linear sRGB | color(srgb-linear 0.11444 0.10946 0.43966) |
| XYZ D65 | color(xyz-d65 0.16568 0.13436 0.43317) |
| XYZ D50 | color(xyz-d50 0.15497 0.13058 0.32618) |
| SwiftUI | Color(red: 0.373, green: 0.365, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.365, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5DB1) |
| Android XML | #5F5DB1 |

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

## Tints

#5f5db1, #6d6dba, #7c7dc2, #8b8dca, #9a9dd2, #aaadda, #babde2, #cbcde9, #dcdef1, #edeef8

## Shades

#5f5db1, #525099, #444383, #38376c, #2c2a57, #201f42, #15142f, #0a0a1c, #03030c, #000001

## Tones

#5f5db1, #605faa, #6061a3, #61629c, #626495, #63658e, #646687, #656780, #676878, #686971

## Harmonies

- Complementary: #5f5db1, #796a00
- Split: #5f5db1, #965a00, #4c781c
- Analogous: #5f5db1, #266bb1, #82509f
- Triadic: #5f5db1, #a54b25, #007f52
- Tetradic: #5f5db1, #9a477e, #796a00, #007f52
- Square: #5f5db1, #a64455, #796a00, #007c79
- Monochromatic: #5f5db1, #241765, #403a8b, #8181d9, #a5a6ff

## Questions about #5f5db1

### What color is #5f5db1?

#5f5db1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 93, 177), in HSL hsl(241.43, 35%, 52.94%) and in OKLCH oklch(52.129% 0.12952 282.001).

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

The complementary color of #5f5db1 is #796a00. For a calmer combination use the analogous colors #266bb1 and #82509f. The triadic partners are #a54b25 and #007f52.

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

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

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

#5f5db1 is a cool color. In OKLCH its hue is 282 degrees, its lightness 52.1% and its chroma 0.13.
