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

#5b58b1 is rgb(91, 88, 177) in RGB and oklch(50.842% 0.13734 281.861) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b58b1 |
| RGB | rgb(91, 88, 177) |
| HSL | hsl(242.02, 36.33%, 51.96%) |
| HSB / HSV | hsv(242.02 50.28% 69.41%) |
| HWB | hwb(242.02 34.51% 30.59%) |
| CMYK | cmyk(49% 50% 0% 31%) |
| Lab | lab(41.2 20.02 -47.97) |
| LCH | lch(41.2 51.98 292.65) |
| OKLab | oklab(50.842% 0.02823 -0.1344) |
| OKLCH | oklch(50.842% 0.13734 281.861) |
| Display P3 | color(display-p3 0.35481 0.3455 0.67202) |
| Rec. 2020 | color(rec2020 0.319 0.29417 0.63187) |
| Adobe RGB | color(a98-rgb 0.35513 0.34711 0.6781) |
| ProPhoto RGB | color(prophoto-rgb 0.34777 0.29028 0.59583) |
| Linear sRGB | color(srgb-linear 0.10462 0.09759 0.43966) |
| XYZ D65 | color(xyz-d65 0.15739 0.12378 0.43156) |
| XYZ D50 | color(xyz-d50 0.14611 0.11989 0.32489) |
| SwiftUI | Color(red: 0.357, green: 0.345, blue: 0.694) |
| UIKit | UIColor(red: 0.357, green: 0.345, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5B58B1) |
| Android XML | #5B58B1 |

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

## Tints

#5b58b1, #6969ba, #7879c2, #878aca, #979ad3, #a8abda, #b8bbe2, #caccea, #dbddf1, #edeef8

## Shades

#5b58b1, #4e4b99, #413f83, #35336c, #292857, #1e1d42, #13122f, #09091c, #03030c, #000001

## Tones

#5b58b1, #5c5aaa, #5c5ca2, #5d5e9b, #5e5f94, #5f618c, #606285, #61637d, #636475, #64656e

## Harmonies

- Complementary: #5b58b1, #756700
- Split: #5b58b1, #925600, #477508
- Analogous: #5b58b1, #1967b1, #7f4a9e
- Triadic: #5b58b1, #a44419, #007c4c
- Tetradic: #5b58b1, #98407c, #756700, #007c4c
- Square: #5b58b1, #a43d51, #756700, #007875
- Monochromatic: #5b58b1, #220f65, #3c358a, #7c7cd9, #a0a1ff

## Questions about #5b58b1

### What color is #5b58b1?

#5b58b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 88, 177), in HSL hsl(242.02, 36.33%, 51.96%) and in OKLCH oklch(50.842% 0.13734 281.861).

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

The complementary color of #5b58b1 is #756700. For a calmer combination use the analogous colors #1967b1 and #7f4a9e. The triadic partners are #a44419 and #007c4c.

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

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

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

#5b58b1 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.8% and its chroma 0.137.
