# #6158b1 color: Yuè Guāng Lán Moonlight

#6158b1 is rgb(97, 88, 177) in RGB and oklch(51.332% 0.13658 285.112) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/6158b1

## Formats

| Format | Value |
| --- | --- |
| HEX | #6158b1 |
| RGB | rgb(97, 88, 177) |
| HSL | hsl(246.07, 36.33%, 51.96%) |
| HSB / HSV | hsv(246.07 50.28% 69.41%) |
| HWB | hwb(246.07 34.51% 30.59%) |
| CMYK | cmyk(45% 50% 0% 31%) |
| Lab | lab(41.72 21.66 -47.1) |
| LCH | lch(41.72 51.84 294.7) |
| OKLab | oklab(51.332% 0.03561 -0.13186) |
| OKLCH | oklch(51.332% 0.13658 285.112) |
| Display P3 | color(display-p3 0.37442 0.34634 0.67221) |
| Rec. 2020 | color(rec2020 0.33377 0.29596 0.63207) |
| Adobe RGB | color(a98-rgb 0.37147 0.34711 0.6781) |
| ProPhoto RGB | color(prophoto-rgb 0.35787 0.29247 0.59605) |
| Linear sRGB | color(srgb-linear 0.11954 0.09759 0.43966) |
| XYZ D65 | color(xyz-d65 0.16354 0.12695 0.43185) |
| XYZ D50 | color(xyz-d50 0.15262 0.12321 0.3251) |
| SwiftUI | Color(red: 0.38, green: 0.345, blue: 0.694) |
| UIKit | UIColor(red: 0.38, green: 0.345, blue: 0.694, alpha: 1) |
| Flutter / Compose | Color(0xFF6158B1) |
| Android XML | #6158B1 |

## 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.93:1
- Contrast with black: 3.54:1

## Tints

#6158b1, #6f69ba, #7d79c2, #8c8aca, #9b9ad2, #abaada, #bbbbe2, #ccccea, #dcddf1, #eeeef8

## Shades

#6158b1, #534b99, #463f83, #39336c, #2d2857, #211d42, #15122f, #0b091c, #03030c, #000001

## Tones

#6158b1, #615aaa, #615ca3, #625e9b, #626094, #63618d, #636386, #64647e, #656577, #66666f

## Harmonies

- Complementary: #6158b1, #736a00
- Split: #6158b1, #905900, #417718
- Analogous: #6158b1, #2867b3, #844b9c
- Triadic: #6158b1, #a44713, #007d54
- Tetradic: #6158b1, #9b4179, #736a00, #007d54
- Square: #6158b1, #a63f4d, #736a00, #00797a
- Monochromatic: #6158b1, #260f65, #42358a, #837cd9, #a7a1ff

## Questions about #6158b1

### What color is #6158b1?

#6158b1 is soft indigo. The closest named color is Yuè Guāng Lán Moonlight. In RGB it is rgb(97, 88, 177), in HSL hsl(246.07, 36.33%, 51.96%) and in OKLCH oklch(51.332% 0.13658 285.112).

### What colors go well with #6158b1?

The complementary color of #6158b1 is #736a00. For a calmer combination use the analogous colors #2867b3 and #844b9c. The triadic partners are #a44713 and #007d54.

### Is white or black text more readable on #6158b1?

White text reads better on #6158b1: white gives a contrast ratio of 5.93:1 and black gives 3.54:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #6158b1 a warm or cool color?

#6158b1 is a cool color. In OKLCH its hue is 285 degrees, its lightness 51.3% and its chroma 0.137.
