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

#5b5ab1 is rgb(91, 90, 177) in RGB and oklch(51.229% 0.13448 281.066) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5ab1 |
| RGB | rgb(91, 90, 177) |
| HSL | hsl(240.69, 35.8%, 52.35%) |
| HSB / HSV | hsv(240.69 49.15% 69.41%) |
| HWB | hwb(240.69 35.29% 30.59%) |
| CMYK | cmyk(49% 49% 0% 31%) |
| Lab | lab(41.72 18.83 -47.13) |
| LCH | lch(41.72 50.76 291.78) |
| OKLab | oklab(51.229% 0.02581 -0.13198) |
| OKLCH | oklch(51.229% 0.13448 281.066) |
| Display P3 | color(display-p3 0.35617 0.35307 0.67227) |
| Rec. 2020 | color(rec2020 0.32146 0.30152 0.6322) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.67824) |
| ProPhoto RGB | color(prophoto-rgb 0.34975 0.29631 0.5963) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.43966) |
| XYZ D65 | color(xyz-d65 0.15905 0.12711 0.43212) |
| XYZ D50 | color(xyz-d50 0.1479 0.12322 0.32534) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.694) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AB1) |
| Android XML | #5B5AB1 |

## 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: 5.93:1
- Contrast with black: 3.54:1

## Tints

#5b5ab1, #696aba, #787bc2, #878bca, #979bd2, #a8abda, #b9bce2, #caccea, #dbddf1, #edeef8

## Shades

#5b5ab1, #4e4d99, #414183, #35356c, #292957, #1e1e42, #13132f, #09091c, #03030c, #000001

## Tones

#5b5ab1, #5c5caa, #5d5ea3, #5d609b, #5f6194, #60628d, #616385, #62647e, #646576, #65666f

## Harmonies

- Complementary: #5b5ab1, #776700
- Split: #5b5ab1, #945600, #4a750d
- Analogous: #5b5ab1, #1b69b0, #7f4d9e
- Triadic: #5b5ab1, #a4461f, #007d4d
- Tetradic: #5b5ab1, #98437d, #776700, #007d4d
- Square: #5b5ab1, #a53f53, #776700, #007976
- Monochromatic: #5b5ab1, #211265, #3c378a, #7d7ed9, #a0a3ff

## Questions about #5b5ab1

### What color is #5b5ab1?

#5b5ab1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 177), in HSL hsl(240.69, 35.8%, 52.35%) and in OKLCH oklch(51.229% 0.13448 281.066).

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

The complementary color of #5b5ab1 is #776700. For a calmer combination use the analogous colors #1b69b0 and #7f4d9e. The triadic partners are #a4461f and #007d4d.

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

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

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

#5b5ab1 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.2% and its chroma 0.134.
