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

#5a5bab is rgb(90, 91, 171) in RGB and oklch(50.96% 0.12454 280.481) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5bab |
| RGB | rgb(90, 91, 171) |
| HSL | hsl(239.26, 32.53%, 51.18%) |
| HSB / HSV | hsv(239.26 47.37% 67.06%) |
| HWB | hwb(239.26 35.29% 32.94%) |
| CMYK | cmyk(47% 47% 0% 33%) |
| Lab | lab(41.6 16.47 -43.81) |
| LCH | lch(41.6 46.81 290.6) |
| OKLab | oklab(50.96% 0.02266 -0.12246) |
| OKLCH | oklch(50.96% 0.12454 280.481) |
| Display P3 | color(display-p3 0.35364 0.35673 0.65005) |
| Rec. 2020 | color(rec2020 0.31807 0.30431 0.60823) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.65533) |
| ProPhoto RGB | color(prophoto-rgb 0.34323 0.29767 0.57255) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.40724) |
| XYZ D65 | color(xyz-d65 0.15307 0.12596 0.40154) |
| XYZ D50 | color(xyz-d50 0.14314 0.12243 0.30239) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.671) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BAB) |
| Android XML | #5A5BAB |

## 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.97:1
- Contrast with black: 3.52:1

## Tints

#5a5bab, #686bb4, #777bbd, #878bc6, #979bce, #a7acd7, #b8bcdf, #c9cde7, #dbddef, #edeef7

## Shades

#5a5bab, #4d4e94, #41417e, #353568, #292954, #1e1e40, #13132d, #09091b, #03030b, #000001

## Tones

#5a5bab, #5b5da4, #5c5e9e, #5d6097, #5e6190, #5f6289, #606382, #62647b, #636574, #64656d

## Harmonies

- Complementary: #5a5bab, #776600
- Split: #5a5bab, #925600, #4d7319
- Analogous: #5a5bab, #2269aa, #7c4f9a
- Triadic: #5a5bab, #9f4928, #007b4d
- Tetradic: #5a5bab, #93467c, #776600, #007b4d
- Square: #5a5bab, #a04255, #776600, #007974
- Monochromatic: #5a5bab, #201560, #3b3885, #7c7fd2, #9fa4fb

## Questions about #5a5bab

### What color is #5a5bab?

#5a5bab is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 171), in HSL hsl(239.26, 32.53%, 51.18%) and in OKLCH oklch(50.96% 0.12454 280.481).

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

The complementary color of #5a5bab is #776600. For a calmer combination use the analogous colors #2269aa and #7c4f9a. The triadic partners are #9f4928 and #007b4d.

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

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

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

#5a5bab is a cool color. In OKLCH its hue is 280 degrees, its lightness 51% and its chroma 0.125.
