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

#5d5fab is rgb(93, 95, 171) in RGB and oklch(51.996% 0.11822 280.312) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5d5fab |
| RGB | rgb(93, 95, 171) |
| HSL | hsl(238.46, 31.71%, 51.76%) |
| HSB / HSV | hsv(238.46 45.61% 67.06%) |
| HWB | hwb(238.46 36.47% 32.94%) |
| CMYK | cmyk(46% 44% 0% 33%) |
| Lab | lab(42.93 14.96 -41.7) |
| LCH | lch(42.93 44.3 289.74) |
| OKLab | oklab(51.996% 0.02116 -0.11632) |
| OKLCH | oklch(51.996% 0.11822 280.312) |
| Display P3 | color(display-p3 0.36611 0.37229 0.65069) |
| Rec. 2020 | color(rec2020 0.33039 0.31998 0.60906) |
| Adobe RGB | color(a98-rgb 0.36786 0.37318 0.65564) |
| ProPhoto RGB | color(prophoto-rgb 0.35236 0.31103 0.57365) |
| Linear sRGB | color(srgb-linear 0.10946 0.11444 0.40724) |
| XYZ D65 | color(xyz-d65 0.15956 0.13452 0.40285) |
| XYZ D50 | color(xyz-d50 0.15007 0.13108 0.30344) |
| SwiftUI | Color(red: 0.365, green: 0.373, blue: 0.671) |
| UIKit | UIColor(red: 0.365, green: 0.373, blue: 0.671, alpha: 1) |
| Flutter / Compose | Color(0xFF5D5FAB) |
| Android XML | #5D5FAB |

## 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.69:1
- Contrast with black: 3.69:1

## Tints

#5d5fab, #6b6fb4, #7a7ebd, #898ec6, #999ece, #a9aed7, #babedf, #cbcee7, #dcdeef, #edeef7

## Shades

#5d5fab, #505294, #43447e, #373868, #2a2c54, #1f2040, #14152d, #0a0a1b, #03030b, #000001

## Tones

#5d5fab, #5e61a5, #5f629e, #606398, #616491, #62658b, #636684, #65677d, #666877, #676870

## Harmonies

- Complementary: #5d5fab, #796900
- Split: #5d5fab, #935a00, #517624
- Analogous: #5d5fab, #2b6caa, #7e539b
- Triadic: #5d5fab, #a04e2f, #007d51
- Tetradic: #5d5fab, #954b7e, #796900, #007d51
- Square: #5d5fab, #a14859, #796900, #007c77
- Monochromatic: #5d5fab, #221a60, #3e3c85, #7f83d2, #a3a8fb

## Questions about #5d5fab

### What color is #5d5fab?

#5d5fab is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(93, 95, 171), in HSL hsl(238.46, 31.71%, 51.76%) and in OKLCH oklch(51.996% 0.11822 280.312).

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

The complementary color of #5d5fab is #796900. For a calmer combination use the analogous colors #2b6caa and #7e539b. The triadic partners are #a04e2f and #007d51.

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

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

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

#5d5fab is a cool color. In OKLCH its hue is 280 degrees, its lightness 52% and its chroma 0.118.
