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

#5a56a8 is rgb(90, 86, 168) in RGB and oklch(49.782% 0.12747 282.937) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a56a8 |
| RGB | rgb(90, 86, 168) |
| HSL | hsl(242.93, 32.28%, 49.8%) |
| HSB / HSV | hsv(242.93 48.81% 65.88%) |
| HWB | hwb(242.93 33.73% 34.12%) |
| CMYK | cmyk(46% 49% 0% 34%) |
| Lab | lab(40.11 18.68 -44.41) |
| LCH | lch(40.11 48.18 292.81) |
| OKLab | oklab(49.782% 0.02854 -0.12423) |
| OKLCH | oklch(49.782% 0.12747 282.937) |
| Display P3 | color(display-p3 0.35022 0.33779 0.63824) |
| Rec. 2020 | color(rec2020 0.31074 0.28559 0.59533) |
| Adobe RGB | color(a98-rgb 0.35039 0.33969 0.64351) |
| ProPhoto RGB | color(prophoto-rgb 0.33529 0.2819 0.55948) |
| Linear sRGB | color(srgb-linear 0.10224 0.09306 0.39157) |
| XYZ D65 | color(xyz-d65 0.14611 0.11656 0.38527) |
| XYZ D50 | color(xyz-d50 0.13645 0.1132 0.29008) |
| SwiftUI | Color(red: 0.353, green: 0.337, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.337, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A56A8) |
| Android XML | #5A56A8 |

## 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.3:1
- Contrast with black: 3.33:1

## Tints

#5a56a8, #6867b1, #7777bb, #8788c4, #9798cd, #a7a9d5, #b8bade, #c9cbe7, #dbdcef, #ededf7

## Shades

#5a56a8, #4d4a92, #413e7c, #353267, #292752, #1e1c3f, #13122c, #09081a, #03020a, #000001

## Tones

#5a56a8, #5a58a1, #5b5a9b, #5c5b94, #5c5d8d, #5d5e86, #5e5f7f, #5f6078, #606171, #61626a

## Harmonies

- Complementary: #5a56a8, #706400
- Split: #5a56a8, #8d5400, #447117
- Analogous: #5a56a8, #2364a9, #7b4a96
- Triadic: #5a56a8, #9c451d, #00784d
- Tetradic: #5a56a8, #924176, #706400, #00784d
- Square: #5a56a8, #9d3e4e, #706400, #007473
- Monochromatic: #5a56a8, #200f5d, #3b3382, #7c7acf, #9f9ff8

## Questions about #5a56a8

### What color is #5a56a8?

#5a56a8 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 86, 168), in HSL hsl(242.93, 32.28%, 49.8%) and in OKLCH oklch(49.782% 0.12747 282.937).

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

The complementary color of #5a56a8 is #706400. For a calmer combination use the analogous colors #2364a9 and #7b4a96. The triadic partners are #9c451d and #00784d.

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

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

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

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