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

#5b58a2 is rgb(91, 88, 162) in RGB and oklch(49.878% 0.11562 283.203) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b58a2 |
| RGB | rgb(91, 88, 162) |
| HSL | hsl(242.43, 29.6%, 49.02%) |
| HSB / HSV | hsv(242.43 45.68% 63.53%) |
| HWB | hwb(242.43 34.51% 36.47%) |
| CMYK | cmyk(44% 46% 0% 36%) |
| Lab | lab(40.43 16.32 -40.34) |
| LCH | lch(40.43 43.52 292.02) |
| OKLab | oklab(49.878% 0.02641 -0.11256) |
| OKLCH | oklch(49.878% 0.11562 283.203) |
| Display P3 | color(display-p3 0.35481 0.3455 0.61624) |
| Rec. 2020 | color(rec2020 0.31349 0.29262 0.57172) |
| Adobe RGB | color(a98-rgb 0.35513 0.34711 0.62078) |
| ProPhoto RGB | color(prophoto-rgb 0.33328 0.28697 0.53645) |
| Linear sRGB | color(srgb-linear 0.10462 0.09759 0.36131) |
| XYZ D65 | color(xyz-d65 0.14325 0.11812 0.35709) |
| XYZ D50 | color(xyz-d50 0.1349 0.11514 0.26894) |
| SwiftUI | Color(red: 0.357, green: 0.345, blue: 0.635) |
| UIKit | UIColor(red: 0.357, green: 0.345, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF5B58A2) |
| Android XML | #5B58A2 |

## Facts

- Closest name: Yuè Guāng Lán Moonlight
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.25:1
- Contrast with black: 3.36:1

## Tints

#5b58a2, #6968ac, #7878b6, #8889bf, #9899c9, #a8aad2, #b9badb, #cacbe4, #dbdced, #edeef6

## Shades

#5b58a2, #4e4b8c, #413f77, #353363, #29284f, #1e1d3c, #13122a, #090919, #03030a, #000001

## Tones

#5b58a2, #5b5a9c, #5c5b96, #5d5c90, #5d5e89, #5e5f83, #5f607d, #606177, #616170, #626269

## Harmonies

- Complementary: #5b58a2, #6f6500
- Split: #5b58a2, #8a5600, #477024
- Analogous: #5b58a2, #2d64a3, #7a4d91
- Triadic: #5b58a2, #984926, #007750
- Tetradic: #5b58a2, #8f4574, #6f6500, #007750
- Square: #5b58a2, #994350, #6f6500, #007573
- Monochromatic: #5b58a2, #201458, #3c367c, #7d7cc9, #a0a0f1

## Questions about #5b58a2

### What color is #5b58a2?

#5b58a2 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 88, 162), in HSL hsl(242.43, 29.6%, 49.02%) and in OKLCH oklch(49.878% 0.11562 283.203).

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

The complementary color of #5b58a2 is #6f6500. For a calmer combination use the analogous colors #2d64a3 and #7a4d91. The triadic partners are #984926 and #007750.

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

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

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

#5b58a2 is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.9% and its chroma 0.116.
