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

#5a57a8 is rgb(90, 87, 168) in RGB and oklch(49.977% 0.126 282.505) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a57a8 |
| RGB | rgb(90, 87, 168) |
| HSL | hsl(242.22, 31.76%, 50%) |
| HSB / HSV | hsv(242.22 48.21% 65.88%) |
| HWB | hwb(242.22 34.12% 34.12%) |
| CMYK | cmyk(46% 48% 0% 34%) |
| Lab | lab(40.38 18.09 -43.99) |
| LCH | lch(40.38 47.56 292.35) |
| OKLab | oklab(49.977% 0.02728 -0.12301) |
| OKLCH | oklch(49.977% 0.126 282.505) |
| Display P3 | color(display-p3 0.35089 0.34157 0.63837) |
| Rec. 2020 | color(rec2020 0.31196 0.28926 0.5955) |
| Adobe RGB | color(a98-rgb 0.35141 0.3434 0.64358) |
| ProPhoto RGB | color(prophoto-rgb 0.33628 0.28489 0.55971) |
| Linear sRGB | color(srgb-linear 0.10224 0.09531 0.39157) |
| XYZ D65 | color(xyz-d65 0.14692 0.11817 0.38554) |
| XYZ D50 | color(xyz-d50 0.13732 0.11481 0.2903) |
| SwiftUI | Color(red: 0.353, green: 0.341, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.341, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A57A8) |
| Android XML | #5A57A8 |

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

## Tints

#5a57a8, #6868b1, #7778bb, #8788c4, #9799cd, #a7aad5, #b8bade, #c9cbe6, #dbdcef, #edeef7

## Shades

#5a57a8, #4d4b92, #413e7c, #353367, #292752, #1e1c3f, #13122c, #09081a, #03030a, #000001

## Tones

#5a57a8, #5b59a1, #5b5b9b, #5c5c94, #5d5e8d, #5e5f86, #5e6080, #606179, #616272, #62626a

## Harmonies

- Complementary: #5a57a8, #716400
- Split: #5a57a8, #8e5400, #467118
- Analogous: #5a57a8, #2365a8, #7b4b96
- Triadic: #5a57a8, #9c4620, #00784d
- Tetradic: #5a57a8, #924276, #716400, #00784d
- Square: #5a57a8, #9d3f4f, #716400, #007573
- Monochromatic: #5a57a8, #20105d, #3b3482, #7c7bcf, #9fa0f8

## Questions about #5a57a8

### What color is #5a57a8?

#5a57a8 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 87, 168), in HSL hsl(242.22, 31.76%, 50%) and in OKLCH oklch(49.977% 0.126 282.505).

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

The complementary color of #5a57a8 is #716400. For a calmer combination use the analogous colors #2365a8 and #7b4b96. The triadic partners are #9c4620 and #00784d.

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

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

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

#5a57a8 is a cool color. In OKLCH its hue is 283 degrees, its lightness 50% and its chroma 0.126.
