# #4e488c color: Moonlight Sonata

#4e488c is rgb(78, 72, 140) in RGB and oklch(44.177% 0.10891 285.031) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e488c |
| RGB | rgb(78, 72, 140) |
| HSL | hsl(245.29, 32.08%, 41.57%) |
| HSB / HSV | hsv(245.29 48.57% 54.9%) |
| HWB | hwb(245.29 28.24% 45.1%) |
| CMYK | cmyk(44% 49% 0% 45%) |
| Lab | lab(33.84 16.68 -37.65) |
| LCH | lch(33.84 41.18 293.89) |
| OKLab | oklab(44.177% 0.02825 -0.10519) |
| OKLCH | oklch(44.177% 0.10891 285.031) |
| Display P3 | color(display-p3 0.30186 0.28317 0.53191) |
| Rec. 2020 | color(rec2020 0.25447 0.22824 0.48105) |
| Adobe RGB | color(a98-rgb 0.30408 0.28815 0.53638) |
| ProPhoto RGB | color(prophoto-rgb 0.27606 0.23091 0.44822) |
| Linear sRGB | color(srgb-linear 0.07619 0.0648 0.26225) |
| XYZ D65 | color(xyz-d65 0.10192 0.08148 0.25847) |
| XYZ D50 | color(xyz-d50 0.0957 0.0793 0.19463) |
| SwiftUI | Color(red: 0.306, green: 0.282, blue: 0.549) |
| UIKit | UIColor(red: 0.306, green: 0.282, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4E488C) |
| Android XML | #4E488C |

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

## Tints

#4e488c, #5d5998, #6d6ba4, #7e7daf, #8f8fbb, #a1a1c6, #b3b3d2, #c5c6dd, #d8d9e9, #ebecf4

## Shades

#4e488c, #433d79, #383367, #2d2955, #231f43, #191633, #0f0d23, #070614, #020207, #000001

## Tones

#4e488c, #4e4a87, #4e4b81, #4f4d7b, #4f4e76, #504f70, #50506b, #515165, #51525f, #525259

## Harmonies

- Complementary: #4e488c, #5d5500
- Split: #4e488c, #754800, #37601a
- Analogous: #4e488c, #24538e, #693e7c
- Triadic: #4e488c, #823c17, #006544
- Tetradic: #4e488c, #7c3761, #5d5500, #006544
- Square: #4e488c, #84353f, #5d5500, #006263
- Monochromatic: #4e488c, #160444, #302767, #6f6bb2, #928fd9

## Questions about #4e488c

### What color is #4e488c?

#4e488c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 72, 140), in HSL hsl(245.29, 32.08%, 41.57%) and in OKLCH oklch(44.177% 0.10891 285.031).

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

The complementary color of #4e488c is #5d5500. For a calmer combination use the analogous colors #24538e and #693e7c. The triadic partners are #823c17 and #006544.

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

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

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

#4e488c is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.2% and its chroma 0.109.
