# #4e4a8e color: Moonlight Sonata

#4e4a8e is rgb(78, 74, 142) in RGB and oklch(44.71% 0.10882 283.741) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4e4a8e |
| RGB | rgb(78, 74, 142) |
| HSL | hsl(243.53, 31.48%, 42.35%) |
| HSB / HSV | hsv(243.53 47.89% 55.69%) |
| HWB | hwb(243.53 29.02% 44.31%) |
| CMYK | cmyk(45% 48% 0% 44%) |
| Lab | lab(34.49 15.96 -37.84) |
| LCH | lch(34.49 41.06 292.87) |
| OKLab | oklab(44.71% 0.02585 -0.1057) |
| OKLCH | oklch(44.71% 0.10882 283.741) |
| Display P3 | color(display-p3 0.30317 0.29073 0.53961) |
| Rec. 2020 | color(rec2020 0.25755 0.23569 0.48931) |
| Adobe RGB | color(a98-rgb 0.30606 0.29547 0.54405) |
| ProPhoto RGB | color(prophoto-rgb 0.27973 0.23703 0.45616) |
| Linear sRGB | color(srgb-linear 0.07619 0.06848 0.2705) |
| XYZ D65 | color(xyz-d65 0.10472 0.0847 0.26675) |
| XYZ D50 | color(xyz-d50 0.0983 0.08244 0.20087) |
| SwiftUI | Color(red: 0.306, green: 0.29, blue: 0.557) |
| UIKit | UIColor(red: 0.306, green: 0.29, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4E4A8E) |
| Android XML | #4E4A8E |

## 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.79:1
- Contrast with black: 2.69:1

## Tints

#4e4a8e, #5d5b9a, #6d6da5, #7e7eb1, #8f90bc, #a1a2c7, #b3b4d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4e4a8e, #433f7b, #383568, #2d2a56, #232044, #191734, #0f0e24, #070615, #020207, #000001

## Tones

#4e4a8e, #4e4c88, #4f4d83, #4f4e7d, #504f78, #505172, #51516c, #525266, #535360, #53545a

## Harmonies

- Complementary: #4e4a8e, #5f5600
- Split: #4e4a8e, #774900, #3a611a
- Analogous: #4e4a8e, #23558f, #6a407e
- Triadic: #4e4a8e, #843d1b, #006643
- Tetradic: #4e4a8e, #7d3963, #5f5600, #006643
- Square: #4e4a8e, #863742, #5f5600, #006464
- Monochromatic: #4e4a8e, #160546, #302969, #6f6db4, #9291dc

## Questions about #4e4a8e

### What color is #4e4a8e?

#4e4a8e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(78, 74, 142), in HSL hsl(243.53, 31.48%, 42.35%) and in OKLCH oklch(44.71% 0.10882 283.741).

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

The complementary color of #4e4a8e is #5f5600. For a calmer combination use the analogous colors #23558f and #6a407e. The triadic partners are #843d1b and #006643.

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

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

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

#4e4a8e is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.7% and its chroma 0.109.
