# #4b4586 color: Moonlight Sonata

#4b4586 is rgb(75, 69, 134) in RGB and oklch(42.917% 0.1049 285.279) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/4b4586

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b4586 |
| RGB | rgb(75, 69, 134) |
| HSL | hsl(245.54, 32.02%, 39.8%) |
| HSB / HSV | hsv(245.54 48.51% 52.55%) |
| HWB | hwb(245.54 27.06% 47.45%) |
| CMYK | cmyk(44% 49% 0% 47%) |
| Lab | lab(32.43 16.12 -36.23) |
| LCH | lch(32.43 39.65 293.99) |
| OKLab | oklab(42.917% 0.02764 -0.10119) |
| OKLCH | oklch(42.917% 0.1049 285.279) |
| Display P3 | color(display-p3 0.2901 0.27141 0.50912) |
| Rec. 2020 | color(rec2020 0.24146 0.21592 0.45676) |
| Adobe RGB | color(a98-rgb 0.29309 0.27721 0.51364) |
| ProPhoto RGB | color(prophoto-rgb 0.26308 0.22018 0.42519) |
| Linear sRGB | color(srgb-linear 0.07036 0.05951 0.2384) |
| XYZ D65 | color(xyz-d65 0.09332 0.07473 0.23506) |
| XYZ D50 | color(xyz-d50 0.08771 0.07277 0.177) |
| SwiftUI | Color(red: 0.294, green: 0.271, blue: 0.525) |
| UIKit | UIColor(red: 0.294, green: 0.271, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4B4586) |
| Android XML | #4B4586 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.42:1
- Contrast with black: 2.49:1

## Tints

#4b4586, #5b5792, #6b689f, #7c7aab, #8d8cb7, #9f9fc3, #b1b2cf, #c4c4db, #d7d8e7, #ebebf3

## Shades

#4b4586, #403b74, #353162, #2b2751, #211e40, #171530, #0e0c21, #060513, #020206, #000001

## Tones

#4b4586, #4b4781, #4b487b, #4c4976, #4c4a71, #4c4c6b, #4d4d66, #4d4d61, #4e4e5b, #4f4f55

## Harmonies

- Complementary: #4b4586, #585200
- Split: #4b4586, #704500, #345c1a
- Analogous: #4b4586, #235088, #653b76
- Triadic: #4b4586, #7d3916, #006141
- Tetradic: #4b4586, #76355c, #585200, #006141
- Square: #4b4586, #7f333c, #585200, #005e5f
- Monochromatic: #4b4586, #14023f, #2d2462, #6c67ac, #8f8bd3

## Questions about #4b4586

### What color is #4b4586?

#4b4586 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 69, 134), in HSL hsl(245.54, 32.02%, 39.8%) and in OKLCH oklch(42.917% 0.1049 285.279).

### What colors go well with #4b4586?

The complementary color of #4b4586 is #585200. For a calmer combination use the analogous colors #235088 and #653b76. The triadic partners are #7d3916 and #006141.

### Is white or black text more readable on #4b4586?

White text reads better on #4b4586: white gives a contrast ratio of 8.42:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #4b4586 a warm or cool color?

#4b4586 is a cool color. In OKLCH its hue is 285 degrees, its lightness 42.9% and its chroma 0.105.
