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

#5a5aaf is rgb(90, 90, 175) in RGB and oklch(51.02% 0.13177 280.667) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5aaf |
| RGB | rgb(90, 90, 175) |
| HSL | hsl(240, 34.69%, 51.96%) |
| HSB / HSV | hsv(240 48.57% 68.63%) |
| HWB | hwb(240 35.29% 31.37%) |
| CMYK | cmyk(49% 49% 0% 31%) |
| Lab | lab(41.54 18.06 -46.27) |
| LCH | lch(41.54 49.67 291.32) |
| OKLab | oklab(51.02% 0.02439 -0.1295) |
| OKLCH | oklch(51.02% 0.13177 280.667) |
| Display P3 | color(display-p3 0.35294 0.35294 0.66479) |
| Rec. 2020 | color(rec2020 0.3183 0.30103 0.62412) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.67057) |
| ProPhoto RGB | color(prophoto-rgb 0.34614 0.29551 0.58824) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.42869) |
| XYZ D65 | color(xyz-d65 0.15609 0.12581 0.42165) |
| XYZ D50 | color(xyz-d50 0.1453 0.12203 0.31748) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.686) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.686, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AAF) |
| Android XML | #5A5AAF |

## 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

#5a5aaf, #686ab8, #777bc0, #878bc9, #979bd1, #a7abd9, #b8bce1, #c9cce9, #dbddf0, #edeef8

## Shades

#5a5aaf, #4d4d98, #414181, #35356b, #292956, #1e1e41, #13132e, #09091c, #03030b, #000001

## Tones

#5a5aaf, #5b5ca8, #5c5ea1, #5d5f9a, #5e6193, #5f628b, #606384, #62647d, #636575, #64656e

## Harmonies

- Complementary: #5a5aaf, #776700
- Split: #5a5aaf, #935600, #4b740f
- Analogous: #5a5aaf, #1b68ae, #7e4d9d
- Triadic: #5a5aaf, #a24622, #007c4c
- Tetradic: #5a5aaf, #96437d, #776700, #007c4c
- Square: #5a5aaf, #a34054, #776700, #007974
- Monochromatic: #5a5aaf, #201363, #3b3789, #7b7ed7, #9fa3ff

## Questions about #5a5aaf

### What color is #5a5aaf?

#5a5aaf is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 175), in HSL hsl(240, 34.69%, 51.96%) and in OKLCH oklch(51.02% 0.13177 280.667).

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

The complementary color of #5a5aaf is #776700. For a calmer combination use the analogous colors #1b68ae and #7e4d9d. The triadic partners are #a24622 and #007c4c.

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

White text reads better on #5a5aaf: 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 #5a5aaf a warm or cool color?

#5a5aaf is a cool color. In OKLCH its hue is 281 degrees, its lightness 51% and its chroma 0.132.
