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

#5a5bb1 is rgb(90, 91, 177) in RGB and oklch(51.346% 0.13323 280.119) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5bb1 |
| RGB | rgb(90, 91, 177) |
| HSL | hsl(239.31, 35.8%, 52.35%) |
| HSB / HSV | hsv(239.31 49.15% 69.41%) |
| HWB | hwb(239.31 35.29% 30.59%) |
| CMYK | cmyk(49% 49% 0% 31%) |
| Lab | lab(41.91 17.97 -46.85) |
| LCH | lch(41.91 50.18 290.99) |
| OKLab | oklab(51.346% 0.02341 -0.13115) |
| OKLCH | oklch(51.346% 0.13323 280.119) |
| Display P3 | color(display-p3 0.35364 0.35673 0.67236) |
| Rec. 2020 | color(rec2020 0.32033 0.30493 0.63234) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.67831) |
| ProPhoto RGB | color(prophoto-rgb 0.34914 0.299 0.5965) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.43966) |
| XYZ D65 | color(xyz-d65 0.15892 0.1283 0.43235) |
| XYZ D50 | color(xyz-d50 0.14778 0.1244 0.32554) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.694) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BB1) |
| Android XML | #5A5BB1 |

## 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.89:1
- Contrast with black: 3.57:1

## Tints

#5a5bb1, #686bba, #777bc2, #878cca, #979cd2, #a7acda, #b8bce2, #c9cdea, #dbddf1, #edeef8

## Shades

#5a5bb1, #4d4e99, #414183, #35356c, #292957, #1e1e42, #13132f, #09091c, #03030c, #000001

## Tones

#5a5bb1, #5b5daa, #5c5fa3, #5d609b, #5e6294, #5f638d, #616486, #62657e, #646677, #65666f

## Harmonies

- Complementary: #5a5bb1, #786700
- Split: #5a5bb1, #955600, #4c750c
- Analogous: #5a5bb1, #196ab0, #7e4e9f
- Triadic: #5a5bb1, #a44723, #007d4c
- Tetradic: #5a5bb1, #97447f, #786700, #007d4c
- Square: #5a5bb1, #a44055, #786700, #007a75
- Monochromatic: #5a5bb1, #201465, #3b388a, #7b7fd9, #9fa5ff

## Questions about #5a5bb1

### What color is #5a5bb1?

#5a5bb1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 177), in HSL hsl(239.31, 35.8%, 52.35%) and in OKLCH oklch(51.346% 0.13323 280.119).

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

The complementary color of #5a5bb1 is #786700. For a calmer combination use the analogous colors #196ab0 and #7e4e9f. The triadic partners are #a44723 and #007d4c.

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

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

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

#5a5bb1 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.3% and its chroma 0.133.
