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

#5f56a7 is rgb(95, 86, 167) in RGB and oklch(50.136% 0.12548 286.014) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f56a7 |
| RGB | rgb(95, 86, 167) |
| HSL | hsl(246.67, 32.02%, 49.61%) |
| HSB / HSV | hsv(246.67 48.5% 65.49%) |
| HWB | hwb(246.67 33.73% 34.51%) |
| CMYK | cmyk(43% 49% 0% 35%) |
| Lab | lab(40.51 19.87 -43.16) |
| LCH | lch(40.51 47.51 294.72) |
| OKLab | oklab(50.136% 0.03462 -0.12061) |
| OKLCH | oklch(50.136% 0.12548 286.014) |
| Display P3 | color(display-p3 0.36658 0.3385 0.63469) |
| Rec. 2020 | color(rec2020 0.32279 0.28699 0.5915) |
| Adobe RGB | color(a98-rgb 0.36402 0.33969 0.63969) |
| ProPhoto RGB | color(prophoto-rgb 0.34285 0.28351 0.55571) |
| Linear sRGB | color(srgb-linear 0.11444 0.09306 0.38643) |
| XYZ D65 | color(xyz-d65 0.15021 0.11878 0.38062) |
| XYZ D50 | color(xyz-d50 0.14103 0.1156 0.28658) |
| SwiftUI | Color(red: 0.373, green: 0.337, blue: 0.655) |
| UIKit | UIColor(red: 0.373, green: 0.337, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5F56A7) |
| Android XML | #5F56A7 |

## Facts

- Closest name: Yuè Guāng Lán Moonlight
- Hue family: Violet, soft violet
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.22:1
- Contrast with black: 3.38:1

## Tints

#5f56a7, #6d67b0, #7c77ba, #8b88c3, #9a98cc, #aaa9d5, #babade, #cbcbe6, #dcdcef, #ededf7

## Shades

#5f56a7, #524a91, #443e7b, #383266, #2c2752, #201c3e, #15122c, #0a081a, #03020a, #000001

## Tones

#5f56a7, #5f58a1, #5f5a9a, #605c93, #605d8d, #605e86, #61607f, #616179, #626272, #63636b

## Harmonies

- Complementary: #5f56a7, #6e6700
- Split: #5f56a7, #8b5700, #407321
- Analogous: #5f56a7, #2d64a9, #7f4a93
- Triadic: #5f56a7, #9c4819, #007953
- Tetradic: #5f56a7, #944273, #6e6700, #007953
- Square: #5f56a7, #9e404b, #6e6700, #007577
- Monochromatic: #5f56a7, #240f5c, #403381, #817ace, #a59ff7

## Questions about #5f56a7

### What color is #5f56a7?

#5f56a7 is soft violet. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 86, 167), in HSL hsl(246.67, 32.02%, 49.61%) and in OKLCH oklch(50.136% 0.12548 286.014).

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

The complementary color of #5f56a7 is #6e6700. For a calmer combination use the analogous colors #2d64a9 and #7f4a93. The triadic partners are #9c4819 and #007953.

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

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

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

#5f56a7 is a cool color. In OKLCH its hue is 286 degrees, its lightness 50.1% and its chroma 0.125.
