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

#5f57b1 is rgb(95, 87, 177) in RGB and oklch(50.976% 0.13825 284.391) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f57b1 |
| RGB | rgb(95, 87, 177) |
| HSL | hsl(245.33, 36.59%, 51.76%) |
| HSB / HSV | hsv(245.33 50.85% 69.41%) |
| HWB | hwb(245.33 34.12% 30.59%) |
| CMYK | cmyk(46% 51% 0% 31%) |
| Lab | lab(41.29 21.69 -47.81) |
| LCH | lch(41.29 52.5 294.41) |
| OKLab | oklab(50.976% 0.03436 -0.13391) |
| OKLCH | oklch(50.976% 0.13825 284.391) |
| Display P3 | color(display-p3 0.36722 0.34227 0.67202) |
| Rec. 2020 | color(rec2020 0.32761 0.2917 0.63184) |
| Adobe RGB | color(a98-rgb 0.36499 0.3434 0.67803) |
| ProPhoto RGB | color(prophoto-rgb 0.35348 0.28874 0.59575) |
| Linear sRGB | color(srgb-linear 0.11444 0.09531 0.43966) |
| XYZ D65 | color(xyz-d65 0.16062 0.12423 0.43148) |
| XYZ D50 | color(xyz-d50 0.14951 0.12044 0.3248) |
| SwiftUI | Color(red: 0.373, green: 0.341, blue: 0.694) |
| UIKit | UIColor(red: 0.373, green: 0.341, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5F57B1) |
| Android XML | #5F57B1 |

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

## Tints

#5f57b1, #6d68ba, #7b78c2, #8a89ca, #9a99d3, #aaaada, #babbe2, #cbccea, #dcddf1, #edeef8

## Shades

#5f57b1, #524b99, #443e83, #38336c, #2c2757, #201c42, #15122f, #0a081c, #03030c, #000001

## Tones

#5f57b1, #5f59aa, #605ba2, #605d9b, #615f94, #61618c, #626285, #63637d, #646476, #65656e

## Harmonies

- Complementary: #5f57b1, #726800
- Split: #5f57b1, #905800, #417612
- Analogous: #5f57b1, #2366b3, #834a9c
- Triadic: #5f57b1, #a44511, #007c52
- Tetradic: #5f57b1, #9a4079, #726800, #007c52
- Square: #5f57b1, #a63d4d, #726800, #007878
- Monochromatic: #5f57b1, #250d65, #40348a, #817bd9, #a4a0ff

## Questions about #5f57b1

### What color is #5f57b1?

#5f57b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 87, 177), in HSL hsl(245.33, 36.59%, 51.76%) and in OKLCH oklch(50.976% 0.13825 284.391).

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

The complementary color of #5f57b1 is #726800. For a calmer combination use the analogous colors #2366b3 and #834a9c. The triadic partners are #a44511 and #007c52.

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

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

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

#5f57b1 is a cool color. In OKLCH its hue is 284 degrees, its lightness 51% and its chroma 0.138.
