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

#5a56a9 is rgb(90, 86, 169) in RGB and oklch(49.847% 0.12891 282.84) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a56a9 |
| RGB | rgb(90, 86, 169) |
| HSL | hsl(242.89, 32.55%, 50%) |
| HSB / HSV | hsv(242.89 49.11% 66.27%) |
| HWB | hwb(242.89 33.73% 33.73%) |
| CMYK | cmyk(47% 49% 0% 34%) |
| Lab | lab(40.17 18.93 -44.92) |
| LCH | lch(40.17 48.74 292.85) |
| OKLab | oklab(49.847% 0.02865 -0.12569) |
| OKLCH | oklch(49.847% 0.12891 282.84) |
| Display P3 | color(display-p3 0.35022 0.33779 0.64196) |
| Rec. 2020 | color(rec2020 0.31111 0.2857 0.59934) |
| Adobe RGB | color(a98-rgb 0.35039 0.33969 0.64733) |
| ProPhoto RGB | color(prophoto-rgb 0.33626 0.28212 0.56343) |
| Linear sRGB | color(srgb-linear 0.10224 0.09306 0.39676) |
| XYZ D65 | color(xyz-d65 0.14705 0.11694 0.3902) |
| XYZ D50 | color(xyz-d50 0.13719 0.11351 0.29378) |
| SwiftUI | Color(red: 0.353, green: 0.337, blue: 0.663) |
| UIKit | UIColor(red: 0.353, green: 0.337, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFF5A56A9) |
| Android XML | #5A56A9 |

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

## Tints

#5a56a9, #6867b2, #7777bc, #8788c5, #9798cd, #a7a9d6, #b8badf, #c9cbe7, #dbdcef, #ededf7

## Shades

#5a56a9, #4d4a92, #413e7c, #353267, #292753, #1e1c3f, #13122c, #09081b, #03020a, #000001

## Tones

#5a56a9, #5a58a2, #5b5a9b, #5c5b95, #5c5d8e, #5d5e87, #5e5f80, #5f6079, #606171, #61626a

## Harmonies

- Complementary: #5a56a9, #716400
- Split: #5a56a9, #8d5400, #447115
- Analogous: #5a56a9, #2264a9, #7c4996
- Triadic: #5a56a9, #9d451c, #00784d
- Tetradic: #5a56a9, #934076, #716400, #00784d
- Square: #5a56a9, #9e3d4e, #716400, #007573
- Monochromatic: #5a56a9, #200f5e, #3b3383, #7b7ad0, #9f9ff9

## Questions about #5a56a9

### What color is #5a56a9?

#5a56a9 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 86, 169), in HSL hsl(242.89, 32.55%, 50%) and in OKLCH oklch(49.847% 0.12891 282.84).

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

The complementary color of #5a56a9 is #716400. For a calmer combination use the analogous colors #2264a9 and #7c4996. The triadic partners are #9d451c and #00784d.

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

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

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

#5a56a9 is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.8% and its chroma 0.129.
