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

#5a58b2 is rgb(90, 88, 178) in RGB and oklch(50.83% 0.13892 281.251) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a58b2 |
| RGB | rgb(90, 88, 178) |
| HSL | hsl(241.33, 36.89%, 52.16%) |
| HSB / HSV | hsv(241.33 50.56% 69.8%) |
| HWB | hwb(241.33 34.51% 30.2%) |
| CMYK | cmyk(49% 51% 0% 30%) |
| Lab | lab(41.17 20 -48.61) |
| LCH | lch(41.17 52.57 292.36) |
| OKLab | oklab(50.83% 0.02711 -0.13625) |
| OKLCH | oklch(50.83% 0.13892 281.251) |
| Display P3 | color(display-p3 0.35156 0.34536 0.67571) |
| Rec. 2020 | color(rec2020 0.31698 0.29399 0.63587) |
| Adobe RGB | color(a98-rgb 0.35245 0.34711 0.68194) |
| ProPhoto RGB | color(prophoto-rgb 0.34715 0.29016 0.59982) |
| Linear sRGB | color(srgb-linear 0.10224 0.09759 0.4452) |
| XYZ D65 | color(xyz-d65 0.15741 0.12367 0.43679) |
| XYZ D50 | color(xyz-d50 0.14587 0.1197 0.32882) |
| SwiftUI | Color(red: 0.353, green: 0.345, blue: 0.698) |
| UIKit | UIColor(red: 0.353, green: 0.345, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5A58B2) |
| Android XML | #5A58B2 |

## 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.05:1
- Contrast with black: 3.47:1

## Tints

#5a58b2, #6869bb, #7779c3, #878acb, #979ad3, #a7abdb, #b8bbe3, #c9ccea, #dbddf1, #edeef8

## Shades

#5a58b2, #4d4b9a, #413f83, #35336d, #292857, #1e1d43, #13122f, #09091d, #03030c, #000001

## Tones

#5a58b2, #5b5aab, #5b5ca3, #5c5e9c, #5d5f94, #5f618d, #606285, #61637d, #626476, #64656e

## Harmonies

- Complementary: #5a58b2, #756600
- Split: #5a58b2, #925600, #477501
- Analogous: #5a58b2, #1467b1, #7f4a9f
- Triadic: #5a58b2, #a44319, #007c4b
- Tetradic: #5a58b2, #98407d, #756600, #007c4b
- Square: #5a58b2, #a53c51, #756600, #007874
- Monochromatic: #5a58b2, #210f66, #3b358b, #7b7cda, #9fa2ff

## Questions about #5a58b2

### What color is #5a58b2?

#5a58b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 88, 178), in HSL hsl(241.33, 36.89%, 52.16%) and in OKLCH oklch(50.83% 0.13892 281.251).

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

The complementary color of #5a58b2 is #756600. For a calmer combination use the analogous colors #1467b1 and #7f4a9f. The triadic partners are #a44319 and #007c4b.

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

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

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

#5a58b2 is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.8% and its chroma 0.139.
