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

#5a5fb3 is rgb(90, 95, 179) in RGB and oklch(52.267% 0.13046 278.297) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5fb3 |
| RGB | rgb(90, 95, 179) |
| HSL | hsl(236.63, 36.93%, 52.75%) |
| HSB / HSV | hsv(236.63 49.72% 70.2%) |
| HWB | hwb(236.63 35.29% 29.8%) |
| CMYK | cmyk(50% 47% 0% 30%) |
| Lab | lab(43.08 16.12 -46.15) |
| LCH | lch(43.08 48.89 289.26) |
| OKLab | oklab(52.267% 0.01883 -0.1291) |
| OKLCH | oklch(52.267% 0.13046 278.297) |
| Display P3 | color(display-p3 0.35652 0.37192 0.68033) |
| Rec. 2020 | color(rec2020 0.32624 0.31997 0.64109) |
| Adobe RGB | color(a98-rgb 0.35997 0.37318 0.68627) |
| ProPhoto RGB | color(prophoto-rgb 0.3553 0.31176 0.6055) |
| Linear sRGB | color(srgb-linear 0.10224 0.11444 0.45079) |
| XYZ D65 | color(xyz-d65 0.16444 0.13612 0.4441) |
| XYZ D50 | color(xyz-d50 0.15316 0.13211 0.33444) |
| SwiftUI | Color(red: 0.353, green: 0.373, blue: 0.702) |
| UIKit | UIColor(red: 0.353, green: 0.373, blue: 0.702, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5FB3) |
| Android XML | #5A5FB3 |

## 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.64:1
- Contrast with black: 3.72:1

## Tints

#5a5fb3, #686fbb, #777fc4, #878ecc, #979ed4, #a7aedb, #b8bee3, #caceea, #dbdef1, #edeff8

## Shades

#5a5fb3, #4d529b, #414484, #35386e, #292c58, #1e2043, #13152f, #090a1d, #03030c, #000001

## Tones

#5a5fb3, #5b61ac, #5c62a5, #5e649e, #5f6596, #61668f, #626788, #646881, #666979, #686971

## Harmonies

- Complementary: #5a5fb3, #7d6900
- Split: #5a5fb3, #995800, #537710
- Analogous: #5a5fb3, #186db0, #7f52a3
- Triadic: #5a5fb3, #a64a2b, #007f4c
- Tetradic: #5a5fb3, #984883, #7d6900, #007f4c
- Square: #5a5fb3, #a6445b, #7d6900, #007d76
- Monochromatic: #5a5fb3, #201967, #3b3c8c, #7c83db, #9fa9ff

## Questions about #5a5fb3

### What color is #5a5fb3?

#5a5fb3 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 95, 179), in HSL hsl(236.63, 36.93%, 52.75%) and in OKLCH oklch(52.267% 0.13046 278.297).

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

The complementary color of #5a5fb3 is #7d6900. For a calmer combination use the analogous colors #186db0 and #7f52a3. The triadic partners are #a64a2b and #007f4c.

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

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

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

#5a5fb3 is a cool color. In OKLCH its hue is 278 degrees, its lightness 52.3% and its chroma 0.13.
