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

#5f58a5 is rgb(95, 88, 165) in RGB and oklch(50.398% 0.11956 285.402) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #5f58a5 |
| RGB | rgb(95, 88, 165) |
| HSL | hsl(245.45, 30.43%, 49.61%) |
| HSB / HSV | hsv(245.45 46.67% 64.71%) |
| HWB | hwb(245.45 34.51% 35.29%) |
| CMYK | cmyk(42% 47% 0% 35%) |
| Lab | lab(40.93 18.21 -41.3) |
| LCH | lch(40.93 45.14 293.8) |
| OKLab | oklab(50.398% 0.03175 -0.11527) |
| OKLCH | oklch(50.398% 0.11956 285.402) |
| Display P3 | color(display-p3 0.36786 0.34605 0.62752) |
| Rec. 2020 | color(rec2020 0.32446 0.2941 0.58385) |
| Adobe RGB | color(a98-rgb 0.36598 0.34711 0.63221) |
| ProPhoto RGB | color(prophoto-rgb 0.34294 0.28905 0.54833) |
| Linear sRGB | color(srgb-linear 0.11444 0.09759 0.37626) |
| XYZ D65 | color(xyz-d65 0.15 0.12129 0.37149) |
| XYZ D50 | color(xyz-d50 0.14132 0.11823 0.27976) |
| SwiftUI | Color(red: 0.373, green: 0.345, blue: 0.647) |
| UIKit | UIColor(red: 0.373, green: 0.345, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF5F58A5) |
| Android XML | #5F58A5 |

## 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: 6.13:1
- Contrast with black: 3.43:1

## Tints

#5f58a5, #6d68af, #7c79b8, #8b89c1, #9a99cb, #aaaad4, #bbbadd, #cbcbe5, #dcdcee, #edeef7

## Shades

#5f58a5, #524b8f, #443f79, #383365, #2c2851, #201d3d, #15122b, #0a091a, #03030a, #000001

## Tones

#5f58a5, #5f5a9f, #5f5b99, #605d92, #605e8c, #616085, #61617f, #626278, #636372, #63636b

## Harmonies

- Complementary: #5f58a5, #6f6700
- Split: #5f58a5, #8b5800, #447326
- Analogous: #5f58a5, #3065a7, #7e4d92
- Triadic: #5f58a5, #9a4a21, #007953
- Tetradic: #5f58a5, #934573, #6f6700, #007953
- Square: #5f58a5, #9d434d, #6f6700, #007677
- Monochromatic: #5f58a5, #24135b, #40367f, #817ccc, #a5a1f4

## Questions about #5f58a5

### What color is #5f58a5?

#5f58a5 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(95, 88, 165), in HSL hsl(245.45, 30.43%, 49.61%) and in OKLCH oklch(50.398% 0.11956 285.402).

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

The complementary color of #5f58a5 is #6f6700. For a calmer combination use the analogous colors #3065a7 and #7e4d92. The triadic partners are #9a4a21 and #007953.

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

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

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

#5f58a5 is a cool color. In OKLCH its hue is 285 degrees, its lightness 50.4% and its chroma 0.12.
