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

#5a57a9 is rgb(90, 87, 169) in RGB and oklch(50.042% 0.12745 282.415) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a57a9 |
| RGB | rgb(90, 87, 169) |
| HSL | hsl(242.2, 32.28%, 50.2%) |
| HSB / HSV | hsv(242.2 48.52% 66.27%) |
| HWB | hwb(242.2 34.12% 33.73%) |
| CMYK | cmyk(47% 49% 0% 34%) |
| Lab | lab(40.43 18.34 -44.5) |
| LCH | lch(40.43 48.12 292.4) |
| OKLab | oklab(50.042% 0.0274 -0.12447) |
| OKLCH | oklch(50.042% 0.12745 282.415) |
| Display P3 | color(display-p3 0.35089 0.34157 0.64209) |
| Rec. 2020 | color(rec2020 0.31233 0.28936 0.59951) |
| Adobe RGB | color(a98-rgb 0.35141 0.3434 0.6474) |
| ProPhoto RGB | color(prophoto-rgb 0.33724 0.28511 0.56366) |
| Linear sRGB | color(srgb-linear 0.10224 0.09531 0.39676) |
| XYZ D65 | color(xyz-d65 0.14785 0.11854 0.39047) |
| XYZ D50 | color(xyz-d50 0.13806 0.11512 0.294) |
| SwiftUI | Color(red: 0.353, green: 0.341, blue: 0.663) |
| UIKit | UIColor(red: 0.353, green: 0.341, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF5A57A9) |
| Android XML | #5A57A9 |

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

## Tints

#5a57a9, #6868b2, #7778bc, #8788c4, #9799cd, #a7aad6, #b8badf, #c9cbe7, #dbdcef, #edeef7

## Shades

#5a57a9, #4d4b92, #413e7c, #353367, #292753, #1e1c3f, #13122c, #09081b, #03030a, #000001

## Tones

#5a57a9, #5b59a2, #5b5b9c, #5c5c95, #5d5e8e, #5e5f87, #5f6080, #606179, #616272, #62636b

## Harmonies

- Complementary: #5a57a9, #726500
- Split: #5a57a9, #8e5400, #467217
- Analogous: #5a57a9, #2265a9, #7c4b97
- Triadic: #5a57a9, #9d461f, #00794d
- Tetradic: #5a57a9, #934177, #726500, #00794d
- Square: #5a57a9, #9e3f4f, #726500, #007573
- Monochromatic: #5a57a9, #20105e, #3b3483, #7c7bd0, #9fa0f9

## Questions about #5a57a9

### What color is #5a57a9?

#5a57a9 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 87, 169), in HSL hsl(242.2, 32.28%, 50.2%) and in OKLCH oklch(50.042% 0.12745 282.415).

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

The complementary color of #5a57a9 is #726500. For a calmer combination use the analogous colors #2265a9 and #7c4b97. The triadic partners are #9d461f and #00794d.

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

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

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

#5a57a9 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50% and its chroma 0.127.
