# #4e4988 color: Moonlight Sonata

#4e4988 is rgb(78, 73, 136) in RGB and oklch(44.122% 0.10134 285.057) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e4988 |
| RGB | rgb(78, 73, 136) |
| HSL | hsl(244.76, 30.14%, 40.98%) |
| HSB / HSV | hsv(244.76 46.32% 53.33%) |
| HWB | hwb(244.76 28.63% 46.67%) |
| CMYK | cmyk(43% 46% 0% 47%) |
| Lab | lab(33.91 15.08 -35.09) |
| LCH | lch(33.91 38.2 293.26) |
| OKLab | oklab(44.122% 0.02633 -0.09786) |
| OKLCH | oklch(44.122% 0.10134 285.057) |
| Display P3 | color(display-p3 0.30251 0.28695 0.51719) |
| Rec. 2020 | color(rec2020 0.25428 0.23147 0.46545) |
| Adobe RGB | color(a98-rgb 0.30506 0.29181 0.52143) |
| ProPhoto RGB | color(prophoto-rgb 0.27347 0.23295 0.43359) |
| Linear sRGB | color(srgb-linear 0.07619 0.06663 0.2462) |
| XYZ D65 | color(xyz-d65 0.09968 0.08162 0.24344) |
| XYZ D50 | color(xyz-d50 0.09411 0.07964 0.18334) |
| SwiftUI | Color(red: 0.306, green: 0.286, blue: 0.533) |
| UIKit | UIColor(red: 0.306, green: 0.286, blue: 0.533, alpha: 1) |
| Flutter / Compose | Color(0xFF4E4988) |
| Android XML | #4E4988 |

## 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: 7.98:1
- Contrast with black: 2.63:1

## Tints

#4e4988, #5d5a94, #6d6ca0, #7e7dac, #8f8fb8, #a1a1c4, #b3b3d0, #c5c6dc, #d8d9e7, #ebecf3

## Shades

#4e4988, #433e75, #383463, #2d2a52, #232041, #191731, #0f0e22, #070613, #020206, #000001

## Tones

#4e4988, #4e4a83, #4e4c7e, #4f4d79, #4f4e73, #504f6e, #505069, #515163, #51515e, #525258

## Harmonies

- Complementary: #4e4988, #5c5500
- Split: #4e4988, #734900, #395f20
- Analogous: #4e4988, #285489, #684079
- Triadic: #4e4988, #7f3e1d, #006445
- Tetradic: #4e4988, #79395f, #5c5500, #006445
- Square: #4e4988, #813840, #5c5500, #006263
- Monochromatic: #4e4988, #160641, #302864, #6f6bae, #9290d5

## Questions about #4e4988

### What color is #4e4988?

#4e4988 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 73, 136), in HSL hsl(244.76, 30.14%, 40.98%) and in OKLCH oklch(44.122% 0.10134 285.057).

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

The complementary color of #4e4988 is #5c5500. For a calmer combination use the analogous colors #285489 and #684079. The triadic partners are #7f3e1d and #006445.

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

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

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

#4e4988 is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.1% and its chroma 0.101.
