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

#5a5ba7 is rgb(90, 91, 167) in RGB and oklch(50.709% 0.11869 280.722) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ba7 |
| RGB | rgb(90, 91, 167) |
| HSL | hsl(239.22, 30.43%, 50.39%) |
| HSB / HSV | hsv(239.22 46.11% 65.49%) |
| HWB | hwb(239.22 35.29% 34.51%) |
| CMYK | cmyk(46% 46% 0% 35%) |
| Lab | lab(41.4 15.47 -41.77) |
| LCH | lch(41.4 44.55 290.33) |
| OKLab | oklab(50.709% 0.02208 -0.11662) |
| OKLCH | oklch(50.709% 0.11869 280.722) |
| Display P3 | color(display-p3 0.35364 0.35673 0.63519) |
| Rec. 2020 | color(rec2020 0.31661 0.30391 0.59221) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.64006) |
| ProPhoto RGB | color(prophoto-rgb 0.33939 0.29681 0.55674) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.38643) |
| XYZ D65 | color(xyz-d65 0.14932 0.12446 0.38176) |
| XYZ D50 | color(xyz-d50 0.14017 0.12117 0.28753) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.655) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.655, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BA7) |
| Android XML | #5A5BA7 |

## 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.02:1
- Contrast with black: 3.49:1

## Tints

#5a5ba7, #686bb0, #777bba, #878bc3, #979bcc, #a8abd5, #b8bcdd, #cacce6, #dbddee, #edeef7

## Shades

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

## Tones

#5a5ba7, #5b5da1, #5c5e9a, #5d5f94, #5e608d, #5f6287, #606280, #61637a, #626473, #64656c

## Harmonies

- Complementary: #5a5ba7, #756600
- Split: #5a5ba7, #8f5700, #4d721f
- Analogous: #5a5ba7, #2768a6, #7b4f97
- Triadic: #5a5ba7, #9c4a2b, #00794e
- Tetradic: #5a5ba7, #91477a, #756600, #00794e
- Square: #5a5ba7, #9d4455, #756600, #007874
- Monochromatic: #5a5ba7, #20165d, #3b3981, #7c7fce, #9fa4f7

## Questions about #5a5ba7

### What color is #5a5ba7?

#5a5ba7 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 167), in HSL hsl(239.22, 30.43%, 50.39%) and in OKLCH oklch(50.709% 0.11869 280.722).

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

The complementary color of #5a5ba7 is #756600. For a calmer combination use the analogous colors #2768a6 and #7b4f97. The triadic partners are #9c4a2b and #00794e.

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

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

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

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