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

#5b58a5 is rgb(91, 88, 165) in RGB and oklch(50.065% 0.12002 282.923) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b58a5 |
| RGB | rgb(91, 88, 165) |
| HSL | hsl(242.34, 30.43%, 49.61%) |
| HSB / HSV | hsv(242.34 46.67% 64.71%) |
| HWB | hwb(242.34 34.51% 35.29%) |
| CMYK | cmyk(45% 47% 0% 35%) |
| Lab | lab(40.58 17.04 -41.89) |
| LCH | lch(40.58 45.22 292.14) |
| OKLab | oklab(50.065% 0.02684 -0.11698) |
| OKLCH | oklch(50.065% 0.12002 282.923) |
| Display P3 | color(display-p3 0.35481 0.3455 0.62738) |
| Rec. 2020 | color(rec2020 0.31455 0.29292 0.58371) |
| Adobe RGB | color(a98-rgb 0.35513 0.34711 0.63221) |
| ProPhoto RGB | color(prophoto-rgb 0.33609 0.2876 0.54818) |
| Linear sRGB | color(srgb-linear 0.10462 0.09759 0.37626) |
| XYZ D65 | color(xyz-d65 0.14595 0.1192 0.3713) |
| XYZ D50 | color(xyz-d50 0.13704 0.11604 0.27962) |
| SwiftUI | Color(red: 0.357, green: 0.345, blue: 0.647) |
| UIKit | UIColor(red: 0.357, green: 0.345, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5B58A5) |
| Android XML | #5B58A5 |

## 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.21:1
- Contrast with black: 3.38:1

## Tints

#5b58a5, #6968af, #7879b8, #8889c1, #9899cb, #a8aad4, #b9bbdd, #cacbe5, #dbdcee, #edeef7

## Shades

#5b58a5, #4e4b8f, #413f79, #353365, #292851, #1e1d3d, #13122b, #09091a, #03030a, #000001

## Tones

#5b58a5, #5b5a9f, #5c5b98, #5d5d92, #5d5e8b, #5e5f85, #5f607e, #606178, #616271, #62636a

## Harmonies

- Complementary: #5b58a5, #716500
- Split: #5b58a5, #8c5600, #477120
- Analogous: #5b58a5, #2965a5, #7b4c94
- Triadic: #5b58a5, #9a4824, #00784f
- Tetradic: #5b58a5, #914475, #716500, #00784f
- Square: #5b58a5, #9b4250, #716500, #007574
- Monochromatic: #5b58a5, #20135b, #3c367f, #7d7ccc, #a0a1f4

## Questions about #5b58a5

### What color is #5b58a5?

#5b58a5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 88, 165), in HSL hsl(242.34, 30.43%, 49.61%) and in OKLCH oklch(50.065% 0.12002 282.923).

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

The complementary color of #5b58a5 is #716500. For a calmer combination use the analogous colors #2965a5 and #7b4c94. The triadic partners are #9a4824 and #00784f.

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

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

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

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