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

#5a57b2 is rgb(90, 87, 178) in RGB and oklch(50.638% 0.14034 281.631) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a57b2 |
| RGB | rgb(90, 87, 178) |
| HSL | hsl(241.98, 37.14%, 51.96%) |
| HSB / HSV | hsv(241.98 51.12% 69.8%) |
| HWB | hwb(241.98 34.12% 30.2%) |
| CMYK | cmyk(49% 51% 0% 30%) |
| Lab | lab(40.91 20.59 -49.03) |
| LCH | lch(40.91 53.18 292.78) |
| OKLab | oklab(50.638% 0.02829 -0.13746) |
| OKLCH | oklch(50.638% 0.14034 281.631) |
| Display P3 | color(display-p3 0.35089 0.34157 0.67559) |
| Rec. 2020 | color(rec2020 0.31576 0.29033 0.6357) |
| Adobe RGB | color(a98-rgb 0.35141 0.3434 0.68187) |
| ProPhoto RGB | color(prophoto-rgb 0.34618 0.28718 0.5996) |
| Linear sRGB | color(srgb-linear 0.10224 0.09531 0.4452) |
| XYZ D65 | color(xyz-d65 0.15659 0.12204 0.43651) |
| XYZ D50 | color(xyz-d50 0.14499 0.11806 0.32859) |
| SwiftUI | Color(red: 0.353, green: 0.341, blue: 0.698) |
| UIKit | UIColor(red: 0.353, green: 0.341, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFF5A57B2) |
| Android XML | #5A57B2 |

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

## Tints

#5a57b2, #6868bb, #7778c3, #8689cb, #969ad3, #a7aadb, #b8bbe3, #c9ccea, #dbddf1, #edeef8

## Shades

#5a57b2, #4d4b9a, #413e83, #35336d, #292757, #1e1c43, #13122f, #09081d, #03030c, #000001

## Tones

#5a57b2, #5b59ab, #5b5ba3, #5c5d9c, #5d5f94, #5e608c, #5f6185, #61627d, #626375, #63646d

## Harmonies

- Complementary: #5a57b2, #746600
- Split: #5a57b2, #915500, #467400
- Analogous: #5a57b2, #1366b2, #7f499e
- Triadic: #5a57b2, #a44216, #007c4b
- Tetradic: #5a57b2, #983e7c, #746600, #007c4b
- Square: #5a57b2, #a53b50, #746600, #007774
- Monochromatic: #5a57b2, #210d66, #3b348b, #7b7bda, #9fa1ff

## Questions about #5a57b2

### What color is #5a57b2?

#5a57b2 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 87, 178), in HSL hsl(241.98, 37.14%, 51.96%) and in OKLCH oklch(50.638% 0.14034 281.631).

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

The complementary color of #5a57b2 is #746600. For a calmer combination use the analogous colors #1366b2 and #7f499e. The triadic partners are #a44216 and #007c4b.

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

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

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

#5a57b2 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.6% and its chroma 0.14.
