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

#5b5aa6 is rgb(91, 90, 166) in RGB and oklch(50.526% 0.11852 281.886) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5aa6 |
| RGB | rgb(91, 90, 166) |
| HSL | hsl(240.79, 29.92%, 50.2%) |
| HSB / HSV | hsv(240.79 45.78% 65.1%) |
| HWB | hwb(240.79 35.29% 34.9%) |
| CMYK | cmyk(45% 46% 0% 35%) |
| Lab | lab(41.17 16.11 -41.55) |
| LCH | lch(41.17 44.56 291.19) |
| OKLab | oklab(50.526% 0.02441 -0.11598) |
| OKLCH | oklch(50.526% 0.11852 281.886) |
| Display P3 | color(display-p3 0.35617 0.35307 0.63137) |
| Rec. 2020 | color(rec2020 0.3174 0.30039 0.58806) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.63617) |
| ProPhoto RGB | color(prophoto-rgb 0.33907 0.29388 0.55259) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.38133) |
| XYZ D65 | color(xyz-d65 0.14852 0.12289 0.37667) |
| XYZ D50 | color(xyz-d50 0.13956 0.11969 0.28369) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.651) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AA6) |
| Android XML | #5B5AA6 |

## Facts

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

## Tints

#5b5aa6, #696ab0, #787ab9, #888ac2, #989acb, #a8abd4, #b9bbdd, #cacce6, #dbddee, #edeef7

## Shades

#5b5aa6, #4e4d90, #41417a, #353565, #292951, #1e1e3e, #13132b, #09091a, #03030a, #000001

## Tones

#5b5aa6, #5c5ca0, #5c5d99, #5d5e93, #5e608d, #5f6186, #606280, #616379, #626372, #63646c

## Harmonies

- Complementary: #5b5aa6, #736600
- Split: #5b5aa6, #8d5700, #4a7221
- Analogous: #5b5aa6, #2a67a6, #7b4e95
- Triadic: #5b5aa6, #9b4a28, #00794f
- Tetradic: #5b5aa6, #914678, #736600, #00794f
- Square: #5b5aa6, #9c4453, #736600, #007774
- Monochromatic: #5b5aa6, #20155c, #3c3880, #7d7ecd, #a0a3f5

## Questions about #5b5aa6

### What color is #5b5aa6?

#5b5aa6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 166), in HSL hsl(240.79, 29.92%, 50.2%) and in OKLCH oklch(50.526% 0.11852 281.886).

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

The complementary color of #5b5aa6 is #736600. For a calmer combination use the analogous colors #2a67a6 and #7b4e95. The triadic partners are #9b4a28 and #00794f.

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

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

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

#5b5aa6 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.5% and its chroma 0.119.
