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

#5a56a7 is rgb(90, 86, 167) in RGB and oklch(49.717% 0.12602 283.035) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a56a7 |
| RGB | rgb(90, 86, 167) |
| HSL | hsl(242.96, 32.02%, 49.61%) |
| HSB / HSV | hsv(242.96 48.5% 65.49%) |
| HWB | hwb(242.96 33.73% 34.51%) |
| CMYK | cmyk(46% 49% 0% 35%) |
| Lab | lab(40.06 18.43 -43.9) |
| LCH | lch(40.06 47.61 292.78) |
| OKLab | oklab(49.717% 0.02842 -0.12278) |
| OKLCH | oklch(49.717% 0.12602 283.035) |
| Display P3 | color(display-p3 0.35022 0.33779 0.63452) |
| Rec. 2020 | color(rec2020 0.31037 0.28549 0.59133) |
| Adobe RGB | color(a98-rgb 0.35039 0.33969 0.63969) |
| ProPhoto RGB | color(prophoto-rgb 0.33433 0.28168 0.55553) |
| Linear sRGB | color(srgb-linear 0.10224 0.09306 0.38643) |
| XYZ D65 | color(xyz-d65 0.14518 0.11619 0.38038) |
| XYZ D50 | color(xyz-d50 0.13572 0.11289 0.28641) |
| SwiftUI | Color(red: 0.353, green: 0.337, blue: 0.655) |
| UIKit | UIColor(red: 0.353, green: 0.337, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5A56A7) |
| Android XML | #5A56A7 |

## 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.32:1
- Contrast with black: 3.32:1

## Tints

#5a56a7, #6867b1, #7777ba, #8788c3, #9798cc, #a7a9d5, #b8bade, #c9cbe6, #dbdcef, #ededf7

## Shades

#5a56a7, #4d4a91, #413e7b, #353266, #292752, #1e1c3e, #13122c, #09081a, #03020a, #000001

## Tones

#5a56a7, #5a58a0, #5b5a9a, #5c5b93, #5c5d8c, #5d5e86, #5e5f7f, #5f6078, #606171, #61626a

## Harmonies

- Complementary: #5a56a7, #706400
- Split: #5a56a7, #8c5400, #447119
- Analogous: #5a56a7, #2464a8, #7b4a95
- Triadic: #5a56a7, #9b451e, #00784d
- Tetradic: #5a56a7, #914175, #706400, #00784d
- Square: #5a56a7, #9d3e4e, #706400, #007473
- Monochromatic: #5a56a7, #200f5c, #3b3381, #7c7ace, #9f9ff7

## Questions about #5a56a7

### What color is #5a56a7?

#5a56a7 is soft dark indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 86, 167), in HSL hsl(242.96, 32.02%, 49.61%) and in OKLCH oklch(49.717% 0.12602 283.035).

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

The complementary color of #5a56a7 is #706400. For a calmer combination use the analogous colors #2464a8 and #7b4a95. The triadic partners are #9b451e and #00784d.

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

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

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

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