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

#5f5ab1 is rgb(95, 90, 177) in RGB and oklch(51.547% 0.13388 283.239) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f5ab1 |
| RGB | rgb(95, 90, 177) |
| HSL | hsl(243.45, 35.8%, 52.35%) |
| HSB / HSV | hsv(243.45 49.15% 69.41%) |
| HWB | hwb(243.45 35.29% 30.59%) |
| CMYK | cmyk(46% 49% 0% 31%) |
| Lab | lab(42.06 19.93 -46.57) |
| LCH | lch(42.06 50.66 293.17) |
| OKLab | oklab(51.547% 0.03066 -0.13033) |
| OKLCH | oklch(51.547% 0.13388 283.239) |
| Display P3 | color(display-p3 0.36916 0.35361 0.67239) |
| Rec. 2020 | color(rec2020 0.33118 0.30267 0.63233) |
| Adobe RGB | color(a98-rgb 0.36799 0.35454 0.67824) |
| ProPhoto RGB | color(prophoto-rgb 0.35639 0.29772 0.59643) |
| Linear sRGB | color(srgb-linear 0.11444 0.10224 0.43966) |
| XYZ D65 | color(xyz-d65 0.1631 0.12919 0.43231) |
| XYZ D50 | color(xyz-d50 0.15219 0.12541 0.32548) |
| SwiftUI | Color(red: 0.373, green: 0.353, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.353, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F5AB1) |
| Android XML | #5F5AB1 |

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

## Tints

#5f5ab1, #6d6aba, #7b7bc2, #8a8bca, #9a9bd2, #aaabda, #babce2, #cbcce9, #dcddf1, #edeef8

## Shades

#5f5ab1, #524d99, #444183, #38356c, #2c2957, #201e42, #15132f, #0a091c, #03030c, #000001

## Tones

#5f5ab1, #5f5caa, #605ea3, #61609c, #616194, #62638d, #636486, #64657f, #656677, #66676f

## Harmonies

- Complementary: #5f5ab1, #756900
- Split: #5f5ab1, #935900, #477717
- Analogous: #5f5ab1, #2469b2, #824d9d
- Triadic: #5f5ab1, #a4481c, #007e51
- Tetradic: #5f5ab1, #9a437b, #756900, #007e51
- Square: #5f5ab1, #a64051, #756900, #007a79
- Monochromatic: #5f5ab1, #241265, #40378a, #817ed9, #a5a3ff

## Questions about #5f5ab1

### What color is #5f5ab1?

#5f5ab1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 90, 177), in HSL hsl(243.45, 35.8%, 52.35%) and in OKLCH oklch(51.547% 0.13388 283.239).

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

The complementary color of #5f5ab1 is #756900. For a calmer combination use the analogous colors #2469b2 and #824d9d. The triadic partners are #a4481c and #007e51.

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

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

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

#5f5ab1 is a cool color. In OKLCH its hue is 283 degrees, its lightness 51.5% and its chroma 0.134.
