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

#5b5ab3 is rgb(91, 90, 179) in RGB and oklch(51.36% 0.13734 280.92) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5b5ab3 |
| RGB | rgb(91, 90, 179) |
| HSL | hsl(240.67, 36.93%, 52.75%) |
| HSB / HSV | hsv(240.67 49.72% 70.2%) |
| HWB | hwb(240.67 35.29% 29.8%) |
| CMYK | cmyk(49% 50% 0% 30%) |
| Lab | lab(41.83 19.34 -48.14) |
| LCH | lch(41.83 51.88 291.89) |
| OKLab | oklab(51.36% 0.02602 -0.13485) |
| OKLCH | oklch(51.36% 0.13734 280.92) |
| Display P3 | color(display-p3 0.35617 0.35307 0.67971) |
| Rec. 2020 | color(rec2020 0.32223 0.30173 0.64026) |
| Adobe RGB | color(a98-rgb 0.35721 0.35454 0.68592) |
| ProPhoto RGB | color(prophoto-rgb 0.35176 0.29677 0.60434) |
| Linear sRGB | color(srgb-linear 0.10462 0.10224 0.45079) |
| XYZ D65 | color(xyz-d65 0.16106 0.12791 0.4427) |
| XYZ D50 | color(xyz-d50 0.1495 0.1239 0.33329) |
| SwiftUI | Color(red: 0.357, green: 0.353, blue: 0.702) |
| UIKit | UIColor(red: 0.357, green: 0.353, blue: 0.702, alpha: 1) |
| Flutter / Compose | Color(0xFF5B5AB3) |
| Android XML | #5B5AB3 |

## 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.9:1
- Contrast with black: 3.56:1

## Tints

#5b5ab3, #696abb, #787bc4, #878bcc, #979bd4, #a8acdb, #b8bce3, #cacdea, #dbddf1, #edeef8

## Shades

#5b5ab3, #4e4d9b, #414184, #35356e, #292958, #1e1e43, #13132f, #09091d, #03030c, #000001

## Tones

#5b5ab3, #5c5cac, #5d5ea4, #5e609d, #5f6195, #60638e, #616486, #62657f, #646677, #65666f

## Harmonies

- Complementary: #5b5ab3, #776800
- Split: #5b5ab3, #945700, #4a7607
- Analogous: #5b5ab3, #1769b2, #804ca0
- Triadic: #5b5ab3, #a6451e, #007e4c
- Tetradic: #5b5ab3, #99427e, #776800, #007e4c
- Square: #5b5ab3, #a63e53, #776800, #007a76
- Monochromatic: #5b5ab3, #221167, #3c378c, #7c7edb, #a0a4ff

## Questions about #5b5ab3

### What color is #5b5ab3?

#5b5ab3 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(91, 90, 179), in HSL hsl(240.67, 36.93%, 52.75%) and in OKLCH oklch(51.36% 0.13734 280.92).

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

The complementary color of #5b5ab3 is #776800. For a calmer combination use the analogous colors #1769b2 and #804ca0. The triadic partners are #a6451e and #007e4c.

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

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

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

#5b5ab3 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.4% and its chroma 0.137.
