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

#5a56aa is rgb(90, 86, 170) in RGB and oklch(49.912% 0.13035 282.745) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a56aa |
| RGB | rgb(90, 86, 170) |
| HSL | hsl(242.86, 33.07%, 50.2%) |
| HSB / HSV | hsv(242.86 49.41% 66.67%) |
| HWB | hwb(242.86 33.73% 33.33%) |
| CMYK | cmyk(47% 49% 0% 33%) |
| Lab | lab(40.22 19.18 -45.42) |
| LCH | lch(40.22 49.31 292.89) |
| OKLab | oklab(49.912% 0.02876 -0.12714) |
| OKLCH | oklch(49.912% 0.13035 282.745) |
| Display P3 | color(display-p3 0.35022 0.33779 0.64568) |
| Rec. 2020 | color(rec2020 0.31149 0.2858 0.60335) |
| Adobe RGB | color(a98-rgb 0.35039 0.33969 0.65115) |
| ProPhoto RGB | color(prophoto-rgb 0.33723 0.28235 0.56739) |
| Linear sRGB | color(srgb-linear 0.10224 0.09306 0.40198) |
| XYZ D65 | color(xyz-d65 0.14799 0.11731 0.39516) |
| XYZ D50 | color(xyz-d50 0.13794 0.11383 0.29751) |
| SwiftUI | Color(red: 0.353, green: 0.337, blue: 0.667) |
| UIKit | UIColor(red: 0.353, green: 0.337, blue: 0.667, alpha: 1) |
| Flutter / Compose | Color(0xFF5A56AA) |
| Android XML | #5A56AA |

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

## Tints

#5a56aa, #6867b3, #7777bc, #8788c5, #9798ce, #a7a9d7, #b8badf, #c9cbe7, #dbdcef, #edeef7

## Shades

#5a56aa, #4d4a93, #413e7d, #353268, #292753, #1e1c3f, #13122d, #09081b, #03020b, #000001

## Tones

#5a56aa, #5a58a3, #5b5a9c, #5c5c95, #5c5d8e, #5d5e87, #5e5f80, #5f6079, #606172, #62626a

## Harmonies

- Complementary: #5a56aa, #716400
- Split: #5a56aa, #8d5400, #447213
- Analogous: #5a56aa, #2064aa, #7c4997
- Triadic: #5a56aa, #9e441b, #00794c
- Tetradic: #5a56aa, #934077, #716400, #00794c
- Square: #5a56aa, #9f3d4e, #716400, #007573
- Monochromatic: #5a56aa, #200e5f, #3b3384, #7b7ad1, #9f9ffa

## Questions about #5a56aa

### What color is #5a56aa?

#5a56aa is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 86, 170), in HSL hsl(242.86, 33.07%, 50.2%) and in OKLCH oklch(49.912% 0.13035 282.745).

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

The complementary color of #5a56aa is #716400. For a calmer combination use the analogous colors #2064aa and #7c4997. The triadic partners are #9e441b and #00794c.

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

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

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

#5a56aa is a cool color. In OKLCH its hue is 283 degrees, its lightness 49.9% and its chroma 0.13.
