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

#5b57a8 is rgb(91, 87, 168) in RGB and oklch(50.059% 0.12586 283.09) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b57a8 |
| RGB | rgb(91, 87, 168) |
| HSL | hsl(242.96, 31.76%, 50%) |
| HSB / HSV | hsv(242.96 48.21% 65.88%) |
| HWB | hwb(242.96 34.12% 34.12%) |
| CMYK | cmyk(46% 48% 0% 34%) |
| Lab | lab(40.47 18.37 -43.84) |
| LCH | lch(40.47 47.54 292.73) |
| OKLab | oklab(50.059% 0.02851 -0.12259) |
| OKLCH | oklch(50.059% 0.12586 283.09) |
| Display P3 | color(display-p3 0.35414 0.34171 0.6384) |
| Rec. 2020 | color(rec2020 0.31441 0.28955 0.59554) |
| Adobe RGB | color(a98-rgb 0.35411 0.3434 0.64358) |
| ProPhoto RGB | color(prophoto-rgb 0.33794 0.28525 0.55975) |
| Linear sRGB | color(srgb-linear 0.10462 0.09531 0.39157) |
| XYZ D65 | color(xyz-d65 0.14789 0.11867 0.38558) |
| XYZ D50 | color(xyz-d50 0.13835 0.11534 0.29033) |
| SwiftUI | Color(red: 0.357, green: 0.341, blue: 0.659) |
| UIKit | UIColor(red: 0.357, green: 0.341, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5B57A8) |
| Android XML | #5B57A8 |

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

## Tints

#5b57a8, #6968b1, #7878bb, #8888c4, #9899cd, #a8aad5, #b9bade, #cacbe6, #dbdcef, #edeef7

## Shades

#5b57a8, #4e4b92, #413e7c, #353367, #292752, #1e1c3f, #13122c, #09081a, #03030a, #000001

## Tones

#5b57a8, #5b59a1, #5c5b9b, #5d5c94, #5d5e8d, #5e5f87, #5f6080, #606179, #616272, #62636b

## Harmonies

- Complementary: #5b57a8, #716500
- Split: #5b57a8, #8d5500, #45721a
- Analogous: #5b57a8, #2665a9, #7c4b96
- Triadic: #5b57a8, #9c461f, #00794e
- Tetradic: #5b57a8, #924276, #716500, #00794e
- Square: #5b57a8, #9e3f4e, #716500, #007574
- Monochromatic: #5b57a8, #21115d, #3c3482, #7d7bcf, #a0a0f8

## Questions about #5b57a8

### What color is #5b57a8?

#5b57a8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 87, 168), in HSL hsl(242.96, 31.76%, 50%) and in OKLCH oklch(50.059% 0.12586 283.09).

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

The complementary color of #5b57a8 is #716500. For a calmer combination use the analogous colors #2665a9 and #7c4b96. The triadic partners are #9c461f and #00794e.

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

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

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

#5b57a8 is a cool color. In OKLCH its hue is 283 degrees, its lightness 50.1% and its chroma 0.126.
