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

#5a5aaa is rgb(90, 90, 170) in RGB and oklch(50.698% 0.12453 281.005) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5aaa |
| RGB | rgb(90, 90, 170) |
| HSL | hsl(240, 32%, 50.98%) |
| HSB / HSV | hsv(240 47.06% 66.67%) |
| HWB | hwb(240 35.29% 33.33%) |
| CMYK | cmyk(47% 47% 0% 33%) |
| Lab | lab(41.28 16.81 -43.73) |
| LCH | lch(41.28 46.85 291.02) |
| OKLab | oklab(50.698% 0.02377 -0.12224) |
| OKLCH | oklch(50.698% 0.12453 281.005) |
| Display P3 | color(display-p3 0.35294 0.35294 0.6462) |
| Rec. 2020 | color(rec2020 0.31643 0.30051 0.60405) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.65144) |
| ProPhoto RGB | color(prophoto-rgb 0.34123 0.2944 0.56834) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.40198) |
| XYZ D65 | color(xyz-d65 0.15127 0.12388 0.39626) |
| XYZ D50 | color(xyz-d50 0.14148 0.12041 0.2984) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.667) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.667, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AAA) |
| Android XML | #5A5AAA |

## 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: 6.04:1
- Contrast with black: 3.48:1

## Tints

#5a5aaa, #686ab3, #777abc, #878ac5, #979bce, #a7abd6, #b8bcdf, #c9cce7, #dbddef, #edeef7

## Shades

#5a5aaa, #4d4d93, #41417d, #353568, #292953, #1e1e3f, #13132d, #09091b, #03030b, #000001

## Tones

#5a5aaa, #5b5ca3, #5c5d9d, #5c5f96, #5e608f, #5f6188, #606282, #61637b, #626474, #64656c

## Harmonies

- Complementary: #5a5aaa, #756600
- Split: #5a5aaa, #905600, #4b7319
- Analogous: #5a5aaa, #2368a9, #7c4e99
- Triadic: #5a5aaa, #9e4826, #007a4d
- Tetradic: #5a5aaa, #93457a, #756600, #007a4d
- Square: #5a5aaa, #9f4253, #756600, #007874
- Monochromatic: #5a5aaa, #20145f, #3b3784, #7c7ed1, #9fa3fa

## Questions about #5a5aaa

### What color is #5a5aaa?

#5a5aaa is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 170), in HSL hsl(240, 32%, 50.98%) and in OKLCH oklch(50.698% 0.12453 281.005).

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

The complementary color of #5a5aaa is #756600. For a calmer combination use the analogous colors #2368a9 and #7c4e99. The triadic partners are #9e4826 and #007a4d.

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

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

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

#5a5aaa is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.7% and its chroma 0.125.
