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

#5a5ba6 is rgb(90, 91, 166) in RGB and oklch(50.647% 0.11722 280.782) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ba6 |
| RGB | rgb(90, 91, 166) |
| HSL | hsl(239.21, 29.92%, 50.2%) |
| HSB / HSV | hsv(239.21 45.78% 65.1%) |
| HWB | hwb(239.21 35.29% 34.9%) |
| CMYK | cmyk(46% 45% 0% 35%) |
| Lab | lab(41.35 15.23 -41.26) |
| LCH | lch(41.35 43.98 290.26) |
| OKLab | oklab(50.647% 0.02193 -0.11515) |
| OKLCH | oklch(50.647% 0.11722 280.782) |
| Display P3 | color(display-p3 0.35364 0.35673 0.63147) |
| Rec. 2020 | color(rec2020 0.31625 0.30381 0.58821) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.63624) |
| ProPhoto RGB | color(prophoto-rgb 0.33844 0.2966 0.55281) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.38133) |
| XYZ D65 | color(xyz-d65 0.14839 0.12409 0.37691) |
| XYZ D50 | color(xyz-d50 0.13944 0.12086 0.28388) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.651) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BA6) |
| Android XML | #5A5BA6 |

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

## Tints

#5a5ba6, #686bb0, #787bb9, #878bc2, #979bcb, #a8abd4, #b8bcdd, #cacce6, #dbddee, #edeef7

## Shades

#5a5ba6, #4d4e90, #41417a, #353565, #292951, #1e1e3e, #13132b, #09091a, #03030a, #000001

## Tones

#5a5ba6, #5b5da0, #5c5e99, #5d5f93, #5e608d, #5f6186, #606280, #616379, #626473, #64646c

## Harmonies

- Complementary: #5a5ba6, #746600
- Split: #5a5ba6, #8e5700, #4d7221
- Analogous: #5a5ba6, #2868a5, #7a4f96
- Triadic: #5a5ba6, #9b4a2b, #00794e
- Tetradic: #5a5ba6, #904779, #746600, #00794e
- Square: #5a5ba6, #9c4455, #746600, #007873
- Monochromatic: #5a5ba6, #1f165c, #3b3980, #7c7fcd, #9fa4f5

## Questions about #5a5ba6

### What color is #5a5ba6?

#5a5ba6 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 166), in HSL hsl(239.21, 29.92%, 50.2%) and in OKLCH oklch(50.647% 0.11722 280.782).

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

The complementary color of #5a5ba6 is #746600. For a calmer combination use the analogous colors #2868a5 and #7a4f96. The triadic partners are #9b4a2b and #00794e.

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

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

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

#5a5ba6 is a cool color. In OKLCH its hue is 281 degrees, its lightness 50.6% and its chroma 0.117.
