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

#5a5aa7 is rgb(90, 90, 167) in RGB and oklch(50.508% 0.12015 281.209) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5aa7 |
| RGB | rgb(90, 90, 167) |
| HSL | hsl(240, 30.43%, 50.39%) |
| HSB / HSV | hsv(240 46.11% 65.49%) |
| HWB | hwb(240 35.29% 34.51%) |
| CMYK | cmyk(46% 46% 0% 35%) |
| Lab | lab(41.13 16.06 -42.2) |
| LCH | lch(41.13 45.15 290.84) |
| OKLab | oklab(50.508% 0.02335 -0.11786) |
| OKLCH | oklch(50.508% 0.12015 281.209) |
| Display P3 | color(display-p3 0.35294 0.35294 0.63505) |
| Rec. 2020 | color(rec2020 0.31534 0.30021 0.59203) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.63998) |
| ProPhoto RGB | color(prophoto-rgb 0.33835 0.29375 0.55649) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.38643) |
| XYZ D65 | color(xyz-d65 0.14847 0.12276 0.38148) |
| XYZ D50 | color(xyz-d50 0.13925 0.11947 0.2873) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.655) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AA7) |
| Android XML | #5A5AA7 |

## 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.08:1
- Contrast with black: 3.46:1

## Tints

#5a5aa7, #686ab0, #777aba, #878ac3, #979bcc, #a7abd5, #b8bbdd, #cacce6, #dbddee, #edeef7

## Shades

#5a5aa7, #4d4d91, #41417b, #353566, #292952, #1e1e3e, #13132c, #09091a, #03030a, #000001

## Tones

#5a5aa7, #5b5ca1, #5c5d9a, #5c5e94, #5d608d, #5e6187, #606280, #616379, #626373, #63646c

## Harmonies

- Complementary: #5a5aa7, #746500
- Split: #5a5aa7, #8e5600, #4b721e
- Analogous: #5a5aa7, #2767a6, #7b4e96
- Triadic: #5a5aa7, #9c4928, #00794e
- Tetradic: #5a5aa7, #914679, #746500, #00794e
- Square: #5a5aa7, #9d4353, #746500, #007773
- Monochromatic: #5a5aa7, #20155d, #3b3881, #7c7ece, #9fa3f7

## Questions about #5a5aa7

### What color is #5a5aa7?

#5a5aa7 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 167), in HSL hsl(240, 30.43%, 50.39%) and in OKLCH oklch(50.508% 0.12015 281.209).

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

The complementary color of #5a5aa7 is #746500. For a calmer combination use the analogous colors #2767a6 and #7b4e96. The triadic partners are #9c4928 and #00794e.

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

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

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

#5a5aa7 is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.5% and its chroma 0.12.
