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

#5a5ab1 is rgb(90, 90, 177) in RGB and oklch(51.151% 0.13465 280.532) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5a5ab1 |
| RGB | rgb(90, 90, 177) |
| HSL | hsl(240, 35.8%, 52.35%) |
| HSB / HSV | hsv(240 49.15% 69.41%) |
| HWB | hwb(240 35.29% 30.59%) |
| CMYK | cmyk(49% 49% 0% 31%) |
| Lab | lab(41.64 18.56 -47.27) |
| LCH | lch(41.64 50.79 291.44) |
| OKLab | oklab(51.151% 0.02461 -0.13238) |
| OKLCH | oklch(51.151% 0.13465 280.532) |
| Display P3 | color(display-p3 0.35294 0.35294 0.67224) |
| Rec. 2020 | color(rec2020 0.31907 0.30124 0.63217) |
| Adobe RGB | color(a98-rgb 0.35454 0.35454 0.67824) |
| ProPhoto RGB | color(prophoto-rgb 0.34813 0.29596 0.59626) |
| Linear sRGB | color(srgb-linear 0.10224 0.10224 0.43966) |
| XYZ D65 | color(xyz-d65 0.15807 0.1266 0.43207) |
| XYZ D50 | color(xyz-d50 0.14687 0.1227 0.32531) |
| SwiftUI | Color(red: 0.353, green: 0.353, blue: 0.694) |
| UIKit | UIColor(red: 0.353, green: 0.353, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF5A5AB1) |
| Android XML | #5A5AB1 |

## 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.95:1
- Contrast with black: 3.53:1

## Tints

#5a5ab1, #686aba, #777bc2, #878bca, #979bd2, #a7acda, #b8bce2, #c9cdea, #dbddf1, #edeef8

## Shades

#5a5ab1, #4d4d99, #414183, #35356c, #292957, #1e1e42, #13132f, #09091c, #03030c, #000001

## Tones

#5a5ab1, #5b5caa, #5c5ea3, #5d5f9b, #5e6194, #5f628d, #606385, #62647e, #636576, #65666e

## Harmonies

- Complementary: #5a5ab1, #776700
- Split: #5a5ab1, #945600, #4b750a
- Analogous: #5a5ab1, #1869b0, #7f4d9f
- Triadic: #5a5ab1, #a44620, #007d4b
- Tetradic: #5a5ab1, #97427e, #776700, #007d4b
- Square: #5a5ab1, #a43f54, #776700, #007975
- Monochromatic: #5a5ab1, #211265, #3b378a, #7b7ed9, #9fa4ff

## Questions about #5a5ab1

### What color is #5a5ab1?

#5a5ab1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(90, 90, 177), in HSL hsl(240, 35.8%, 52.35%) and in OKLCH oklch(51.151% 0.13465 280.532).

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

The complementary color of #5a5ab1 is #776700. For a calmer combination use the analogous colors #1869b0 and #7f4d9f. The triadic partners are #a44620 and #007d4b.

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

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

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

#5a5ab1 is a cool color. In OKLCH its hue is 281 degrees, its lightness 51.2% and its chroma 0.135.
