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

#5f5caf is rgb(95, 92, 175) in RGB and oklch(51.807% 0.1281 282.595) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5caf |
| RGB | rgb(95, 92, 175) |
| HSL | hsl(242.17, 34.16%, 52.35%) |
| HSB / HSV | hsv(242.17 47.43% 68.63%) |
| HWB | hwb(242.17 36.08% 31.37%) |
| CMYK | cmyk(46% 47% 0% 31%) |
| Lab | lab(42.49 18.27 -44.73) |
| LCH | lch(42.49 48.31 292.22) |
| OKLab | oklab(51.807% 0.02793 -0.12501) |
| OKLCH | oklch(51.807% 0.1281 282.595) |
| Display P3 | color(display-p3 0.37049 0.36118 0.66521) |
| Rec. 2020 | color(rec2020 0.33289 0.30982 0.62463) |
| Adobe RGB | color(a98-rgb 0.37004 0.36199 0.67071) |
| ProPhoto RGB | color(prophoto-rgb 0.35644 0.30334 0.5889) |
| Linear sRGB | color(srgb-linear 0.11444 0.10702 0.42869) |
| XYZ D65 | color(xyz-d65 0.16283 0.13182 0.42245) |
| XYZ D50 | color(xyz-d50 0.15246 0.12817 0.31811) |
| SwiftUI | Color(red: 0.373, green: 0.361, blue: 0.686) |
| UIKit | UIColor(red: 0.373, green: 0.361, blue: 0.686, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5CAF) |
| Android XML | #5F5CAF |

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

## Tints

#5f5caf, #6d6cb8, #7c7cc0, #8b8cc9, #9a9cd1, #aaacd9, #babde1, #cbcde9, #dcddf0, #edeef8

## Shades

#5f5caf, #524f98, #444281, #38366b, #2c2a56, #201f41, #15142e, #0a0a1c, #03030b, #000001

## Tones

#5f5caf, #605ea8, #6060a1, #61619a, #626394, #63648d, #646586, #65667e, #666777, #676870

## Harmonies

- Complementary: #5f5caf, #776a00
- Split: #5f5caf, #945900, #4a771d
- Analogous: #5f5caf, #286aaf, #814f9c
- Triadic: #5f5caf, #a34b24, #007e52
- Tetradic: #5f5caf, #99467c, #776a00, #007e52
- Square: #5f5caf, #a44454, #776a00, #007b79
- Monochromatic: #5f5caf, #241664, #403989, #8180d7, #a5a5ff

## Questions about #5f5caf

### What color is #5f5caf?

#5f5caf is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 92, 175), in HSL hsl(242.17, 34.16%, 52.35%) and in OKLCH oklch(51.807% 0.1281 282.595).

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

The complementary color of #5f5caf is #776a00. For a calmer combination use the analogous colors #286aaf and #814f9c. The triadic partners are #a34b24 and #007e52.

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

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

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

#5f5caf is a cool color. In OKLCH its hue is 283 degrees, its lightness 51.8% and its chroma 0.128.
