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

#5a56ab is rgb(90, 86, 171) in RGB and oklch(49.978% 0.13179 282.649) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a56ab |
| RGB | rgb(90, 86, 171) |
| HSL | hsl(242.82, 33.6%, 50.39%) |
| HSB / HSV | hsv(242.82 49.71% 67.06%) |
| HWB | hwb(242.82 33.73% 32.94%) |
| CMYK | cmyk(47% 50% 0% 33%) |
| Lab | lab(40.27 19.43 -45.93) |
| LCH | lch(40.27 49.87 292.92) |
| OKLab | oklab(49.978% 0.02886 -0.12859) |
| OKLCH | oklch(49.978% 0.13179 282.649) |
| Display P3 | color(display-p3 0.35022 0.33779 0.6494) |
| Rec. 2020 | color(rec2020 0.31186 0.28591 0.60737) |
| Adobe RGB | color(a98-rgb 0.35039 0.33969 0.65497) |
| ProPhoto RGB | color(prophoto-rgb 0.33821 0.28257 0.57136) |
| Linear sRGB | color(srgb-linear 0.10224 0.09306 0.40724) |
| XYZ D65 | color(xyz-d65 0.14894 0.11769 0.40016) |
| XYZ D50 | color(xyz-d50 0.13869 0.11415 0.30127) |
| SwiftUI | Color(red: 0.353, green: 0.337, blue: 0.671) |
| UIKit | UIColor(red: 0.353, green: 0.337, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF5A56AB) |
| Android XML | #5A56AB |

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

## Tints

#5a56ab, #6867b4, #7777bd, #8788c6, #9799cf, #a7a9d7, #b8badf, #c9cbe8, #dbdcf0, #edeef7

## Shades

#5a56ab, #4d4a94, #413e7e, #353268, #292754, #1e1c40, #13122d, #09081b, #03020b, #000001

## Tones

#5a56ab, #5a58a4, #5b5a9d, #5c5c96, #5d5d8f, #5d5e88, #5e6081, #5f617a, #616272, #62626b

## Harmonies

- Complementary: #5a56ab, #716500
- Split: #5a56ab, #8e5400, #447211
- Analogous: #5a56ab, #1f64ab, #7d4998
- Triadic: #5a56ab, #9e441a, #00794c
- Tetradic: #5a56ab, #944077, #716500, #00794c
- Square: #5a56ab, #a03d4e, #716500, #007573
- Monochromatic: #5a56ab, #210e60, #3b3385, #7b7ad3, #9f9ffb

## Questions about #5a56ab

### What color is #5a56ab?

#5a56ab is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 86, 171), in HSL hsl(242.82, 33.6%, 50.39%) and in OKLCH oklch(49.978% 0.13179 282.649).

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

The complementary color of #5a56ab is #716500. For a calmer combination use the analogous colors #1f64ab and #7d4998. The triadic partners are #9e441a and #00794c.

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

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

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

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