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

#5a5fb0 is rgb(90, 95, 176) in RGB and oklch(52.077% 0.12611 278.395) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5fb0 |
| RGB | rgb(90, 95, 176) |
| HSL | hsl(236.51, 35.25%, 52.16%) |
| HSB / HSV | hsv(236.51 48.86% 69.02%) |
| HWB | hwb(236.51 35.29% 30.98%) |
| CMYK | cmyk(49% 46% 0% 31%) |
| Lab | lab(42.93 15.36 -44.64) |
| LCH | lch(42.93 47.21 288.99) |
| OKLab | oklab(52.077% 0.01841 -0.12476) |
| OKLCH | oklch(52.077% 0.12611 278.395) |
| Display P3 | color(display-p3 0.35652 0.37192 0.66917) |
| Rec. 2020 | color(rec2020 0.3251 0.31967 0.62902) |
| Adobe RGB | color(a98-rgb 0.35997 0.37318 0.67477) |
| ProPhoto RGB | color(prophoto-rgb 0.35231 0.3111 0.59346) |
| Linear sRGB | color(srgb-linear 0.10224 0.11444 0.43415) |
| XYZ D65 | color(xyz-d65 0.16144 0.13492 0.42829) |
| XYZ D50 | color(xyz-d50 0.15078 0.1311 0.32256) |
| SwiftUI | Color(red: 0.353, green: 0.373, blue: 0.69) |
| UIKit | UIColor(red: 0.353, green: 0.373, blue: 0.69, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5FB0) |
| Android XML | #5A5FB0 |

## 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.68:1
- Contrast with black: 3.7:1

## Tints

#5a5fb0, #686fb9, #777ec1, #878ec9, #979ed2, #a8aeda, #b8bee1, #cacee9, #dbdef0, #edeef8

## Shades

#5a5fb0, #4d5299, #414482, #35386c, #292c56, #1e2042, #13152e, #090a1c, #03030b, #000001

## Tones

#5a5fb0, #5b61a9, #5c62a2, #5e639b, #5f6594, #61668d, #626786, #64677f, #656878, #676971

## Harmonies

- Complementary: #5a5fb0, #7c6800
- Split: #5a5fb0, #975800, #537617
- Analogous: #5a5fb0, #1e6dae, #7e52a0
- Triadic: #5a5fb0, #a44b2d, #007e4d
- Tetradic: #5a5fb0, #964982, #7c6800, #007e4d
- Square: #5a5fb0, #a3455b, #7c6800, #007d75
- Monochromatic: #5a5fb0, #201965, #3b3c8a, #7c83d8, #9fa9ff

## Questions about #5a5fb0

### What color is #5a5fb0?

#5a5fb0 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 95, 176), in HSL hsl(236.51, 35.25%, 52.16%) and in OKLCH oklch(52.077% 0.12611 278.395).

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

The complementary color of #5a5fb0 is #7c6800. For a calmer combination use the analogous colors #1e6dae and #7e52a0. The triadic partners are #a44b2d and #007e4d.

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

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

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

#5a5fb0 is a cool color. In OKLCH its hue is 278 degrees, its lightness 52.1% and its chroma 0.126.
