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

#5b5aa8 is rgb(91, 90, 168) in RGB and oklch(50.651% 0.12145 281.734) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5aa8 |
| RGB | rgb(91, 90, 168) |
| HSL | hsl(240.77, 30.95%, 50.59%) |
| HSB / HSV | hsv(240.77 46.43% 65.88%) |
| HWB | hwb(240.77 35.29% 34.12%) |
| CMYK | cmyk(46% 46% 0% 34%) |
| Lab | lab(41.27 16.6 -42.57) |
| LCH | lch(41.27 45.69 291.3) |
| OKLab | oklab(50.651% 0.0247 -0.11891) |
| OKLCH | oklch(50.651% 0.12145 281.734) |
| Display P3 | color(display-p3 0.35617 0.35307 0.6388) |
| Rec. 2020 | color(rec2020 0.31811 0.30059 0.59607) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.6438) |
| ProPhoto RGB | color(prophoto-rgb 0.34096 0.29431 0.56047) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.39157) |
| XYZ D65 | color(xyz-d65 0.15037 0.12363 0.38641) |
| XYZ D50 | color(xyz-d50 0.14102 0.12031 0.291) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.659) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AA8) |
| Android XML | #5B5AA8 |

## 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.05:1
- Contrast with black: 3.47:1

## Tints

#5b5aa8, #696ab1, #787abb, #888ac4, #989bcd, #a8abd5, #b9bbde, #cacce6, #dbddef, #edeef7

## Shades

#5b5aa8, #4e4d92, #41417c, #353567, #292952, #1e1e3f, #13132c, #09091a, #03030a, #000001

## Tones

#5b5aa8, #5c5ca2, #5c5d9b, #5d5f95, #5e608e, #5f6187, #606281, #61637a, #626473, #64646c

## Harmonies

- Complementary: #5b5aa8, #746600
- Split: #5b5aa8, #8f5700, #4a731e
- Analogous: #5b5aa8, #2767a8, #7c4e97
- Triadic: #5b5aa8, #9d4927, #007a4f
- Tetradic: #5b5aa8, #924579, #746600, #007a4f
- Square: #5b5aa8, #9e4353, #746600, #007774
- Monochromatic: #5b5aa8, #21155d, #3c3882, #7d7ecf, #a0a3f8

## Questions about #5b5aa8

### What color is #5b5aa8?

#5b5aa8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 168), in HSL hsl(240.77, 30.95%, 50.59%) and in OKLCH oklch(50.651% 0.12145 281.734).

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

The complementary color of #5b5aa8 is #746600. For a calmer combination use the analogous colors #2767a8 and #7c4e97. The triadic partners are #9d4927 and #007a4f.

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

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

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

#5b5aa8 is a cool color. In OKLCH its hue is 282 degrees, its lightness 50.7% and its chroma 0.121.
