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

#5a5ab4 is rgb(90, 90, 180) in RGB and oklch(51.35% 0.13893 280.331) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ab4 |
| RGB | rgb(90, 90, 180) |
| HSL | hsl(240, 37.5%, 52.94%) |
| HSB / HSV | hsv(240 50% 70.59%) |
| HWB | hwb(240 35.29% 29.41%) |
| CMYK | cmyk(50% 50% 0% 29%) |
| Lab | lab(41.8 19.33 -48.77) |
| LCH | lch(41.8 52.46 291.62) |
| OKLab | oklab(51.35% 0.02492 -0.13668) |
| OKLCH | oklch(51.35% 0.13893 280.331) |
| Display P3 | color(display-p3 0.35294 0.35294 0.68341) |
| Rec. 2020 | color(rec2020 0.32024 0.30156 0.64426) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.68976) |
| ProPhoto RGB | color(prophoto-rgb 0.35116 0.29666 0.60835) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.45641) |
| XYZ D65 | color(xyz-d65 0.1611 0.12781 0.448) |
| XYZ D50 | color(xyz-d50 0.14927 0.12371 0.33727) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.706) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.706, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AB4) |
| Android XML | #5A5AB4 |

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

## Tints

#5a5ab4, #686bbc, #777bc5, #878bcd, #979bd4, #a7acdc, #b8bce3, #c9cdeb, #dbddf2, #edeef8

## Shades

#5a5ab4, #4d4d9c, #414185, #35356e, #292958, #1e1e44, #131330, #09091d, #03030c, #000002

## Tones

#5a5ab4, #5b5cad, #5c5ea5, #5d609e, #5e6196, #5f638e, #616487, #62657f, #646677, #65666f

## Harmonies

- Complementary: #5a5ab4, #786700
- Split: #5a5ab4, #955600, #4b7600
- Analogous: #5a5ab4, #1169b3, #804ca1
- Triadic: #5a5ab4, #a6441e, #007e4b
- Tetradic: #5a5ab4, #99427f, #786700, #007e4b
- Square: #5a5ab4, #a63d54, #786700, #007a75
- Monochromatic: #5a5ab4, #211168, #3b378d, #7b7edc, #9fa4ff

## Questions about #5a5ab4

### What color is #5a5ab4?

#5a5ab4 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 180), in HSL hsl(240, 37.5%, 52.94%) and in OKLCH oklch(51.35% 0.13893 280.331).

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

The complementary color of #5a5ab4 is #786700. For a calmer combination use the analogous colors #1169b3 and #804ca1. The triadic partners are #a6441e and #007e4b.

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

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

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

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