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

#5a5ba8 is rgb(90, 91, 168) in RGB and oklch(50.771% 0.12016 280.662) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ba8 |
| RGB | rgb(90, 91, 168) |
| HSL | hsl(239.23, 30.95%, 50.59%) |
| HSB / HSV | hsv(239.23 46.43% 65.88%) |
| HWB | hwb(239.23 35.29% 34.12%) |
| CMYK | cmyk(46% 46% 0% 34%) |
| Lab | lab(41.45 15.72 -42.28) |
| LCH | lch(41.45 45.11 290.39) |
| OKLab | oklab(50.771% 0.02223 -0.11808) |
| OKLCH | oklch(50.771% 0.12016 280.662) |
| Display P3 | color(display-p3 0.35364 0.35673 0.6389) |
| Rec. 2020 | color(rec2020 0.31697 0.30401 0.59621) |
| Adobe RGB | color(a98-rgb 0.35561 0.35827 0.64387) |
| ProPhoto RGB | color(prophoto-rgb 0.34034 0.29702 0.56068) |
| Linear sRGB | color(srgb-linear 0.10224 0.10462 0.39157) |
| XYZ D65 | color(xyz-d65 0.15024 0.12483 0.38665) |
| XYZ D50 | color(xyz-d50 0.1409 0.12148 0.2912) |
| SwiftUI | Color(red: 0.353, green: 0.357, blue: 0.659) |
| UIKit | UIColor(red: 0.353, green: 0.357, blue: 0.659, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5BA8) |
| Android XML | #5A5BA8 |

## 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.01:1
- Contrast with black: 3.5:1

## Tints

#5a5ba8, #686bb1, #777bbb, #878bc4, #979bcc, #a8abd5, #b8bcde, #cacce6, #dbddef, #edeef7

## Shades

#5a5ba8, #4d4e92, #41417c, #353567, #292952, #1e1e3f, #13132c, #09091a, #03030a, #000001

## Tones

#5a5ba8, #5b5da2, #5c5e9b, #5d5f95, #5e618e, #5f6288, #606381, #61637a, #636473, #64656c

## Harmonies

- Complementary: #5a5ba8, #756600
- Split: #5a5ba8, #905700, #4d731e
- Analogous: #5a5ba8, #2668a7, #7b4f98
- Triadic: #5a5ba8, #9d4a2a, #007a4e
- Tetradic: #5a5ba8, #92477a, #756600, #007a4e
- Square: #5a5ba8, #9d4455, #756600, #007874
- Monochromatic: #5a5ba8, #20165d, #3b3982, #7c7fcf, #9fa4f8

## Questions about #5a5ba8

### What color is #5a5ba8?

#5a5ba8 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 91, 168), in HSL hsl(239.23, 30.95%, 50.59%) and in OKLCH oklch(50.771% 0.12016 280.662).

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

The complementary color of #5a5ba8 is #756600. For a calmer combination use the analogous colors #2668a7 and #7b4f98. The triadic partners are #9d4a2a and #007a4e.

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

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

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

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