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

#5b58a8 is rgb(91, 88, 168) in RGB and oklch(50.255% 0.12439 282.65) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b58a8 |
| RGB | rgb(91, 88, 168) |
| HSL | hsl(242.25, 31.5%, 50.2%) |
| HSB / HSV | hsv(242.25 47.62% 65.88%) |
| HWB | hwb(242.25 34.51% 34.12%) |
| CMYK | cmyk(46% 48% 0% 34%) |
| Lab | lab(40.73 17.78 -43.42) |
| LCH | lch(40.73 46.92 292.27) |
| OKLab | oklab(50.255% 0.02724 -0.12137) |
| OKLCH | oklch(50.255% 0.12439 282.65) |
| Display P3 | color(display-p3 0.35481 0.3455 0.63853) |
| Rec. 2020 | color(rec2020 0.31563 0.29322 0.59571) |
| Adobe RGB | color(a98-rgb 0.35513 0.34711 0.64365) |
| ProPhoto RGB | color(prophoto-rgb 0.33894 0.28825 0.55998) |
| Linear sRGB | color(srgb-linear 0.10462 0.09759 0.39157) |
| XYZ D65 | color(xyz-d65 0.14871 0.12031 0.38586) |
| XYZ D50 | color(xyz-d50 0.13923 0.11697 0.29055) |
| SwiftUI | Color(red: 0.357, green: 0.345, blue: 0.659) |
| UIKit | UIColor(red: 0.357, green: 0.345, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5B58A8) |
| Android XML | #5B58A8 |

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

## Tints

#5b58a8, #6968b1, #7879bb, #8889c4, #9899cd, #a8aad5, #b9bbde, #cacce6, #dbddef, #edeef7

## Shades

#5b58a8, #4e4b92, #413f7c, #353367, #292852, #1e1d3f, #13122c, #09091a, #03030a, #000001

## Tones

#5b58a8, #5c5aa1, #5c5c9b, #5d5d94, #5e5e8e, #5e6087, #5f6180, #606279, #616272, #63636b

## Harmonies

- Complementary: #5b58a8, #726500
- Split: #5b58a8, #8e5600, #47721c
- Analogous: #5b58a8, #2665a8, #7c4c96
- Triadic: #5b58a8, #9c4722, #00794e
- Tetradic: #5b58a8, #924377, #726500, #00794e
- Square: #5b58a8, #9e4150, #726500, #007674
- Monochromatic: #5b58a8, #21125d, #3c3582, #7d7ccf, #a0a1f8

## Questions about #5b58a8

### What color is #5b58a8?

#5b58a8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 88, 168), in HSL hsl(242.25, 31.5%, 50.2%) and in OKLCH oklch(50.255% 0.12439 282.65).

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

The complementary color of #5b58a8 is #726500. For a calmer combination use the analogous colors #2665a8 and #7c4c96. The triadic partners are #9c4722 and #00794e.

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

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

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

#5b58a8 is a cool color. In OKLCH its hue is 283 degrees, its lightness 50.3% and its chroma 0.124.
