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

#5a5ab3 is rgb(90, 90, 179) in RGB and oklch(51.283% 0.13751 280.398) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ab3 |
| RGB | rgb(90, 90, 179) |
| HSL | hsl(240, 36.93%, 52.75%) |
| HSB / HSV | hsv(240 49.72% 70.2%) |
| HWB | hwb(240 35.29% 29.8%) |
| CMYK | cmyk(50% 50% 0% 30%) |
| Lab | lab(41.75 19.07 -48.27) |
| LCH | lch(41.75 51.91 291.56) |
| OKLab | oklab(51.283% 0.02482 -0.13525) |
| OKLCH | oklch(51.283% 0.13751 280.398) |
| Display P3 | color(display-p3 0.35294 0.35294 0.67968) |
| Rec. 2020 | color(rec2020 0.31985 0.30145 0.64023) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.68592) |
| ProPhoto RGB | color(prophoto-rgb 0.35015 0.29642 0.60431) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.45079) |
| XYZ D65 | color(xyz-d65 0.16008 0.1274 0.44265) |
| XYZ D50 | color(xyz-d50 0.14846 0.12337 0.33326) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.702) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.702, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AB3) |
| Android XML | #5A5AB3 |

## 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: 5.92:1
- Contrast with black: 3.55:1

## Tints

#5a5ab3, #686bbc, #777bc4, #878bcc, #979bd4, #a7acdb, #b8bce3, #c9cdea, #dbddf1, #edeef8

## Shades

#5a5ab3, #4d4d9b, #414184, #35356e, #292958, #1e1e43, #13132f, #09091d, #03030c, #000001

## Tones

#5a5ab3, #5b5cac, #5c5ea4, #5d609d, #5e6195, #5f628e, #616486, #62657f, #636577, #65666f

## Harmonies

- Complementary: #5a5ab3, #786700
- Split: #5a5ab3, #955600, #4b7503
- Analogous: #5a5ab3, #1469b2, #7f4ca0
- Triadic: #5a5ab3, #a6451f, #007e4b
- Tetradic: #5a5ab3, #98427f, #786700, #007e4b
- Square: #5a5ab3, #a63e54, #786700, #007a75
- Monochromatic: #5a5ab3, #211167, #3b378c, #7b7edb, #9fa4ff

## Questions about #5a5ab3

### What color is #5a5ab3?

#5a5ab3 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 179), in HSL hsl(240, 36.93%, 52.75%) and in OKLCH oklch(51.283% 0.13751 280.398).

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

The complementary color of #5a5ab3 is #786700. For a calmer combination use the analogous colors #1469b2 and #7f4ca0. The triadic partners are #a6451f and #007e4b.

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

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

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

#5a5ab3 is a cool color. In OKLCH its hue is 280 degrees, its lightness 51.3% and its chroma 0.138.
