# #4d4a8e color: Moonlight Sonata

#4d4a8e is rgb(77, 74, 142) in RGB and oklch(44.625% 0.10895 283.043) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4a8e |
| RGB | rgb(77, 74, 142) |
| HSL | hsl(242.65, 31.48%, 42.35%) |
| HSB / HSV | hsv(242.65 47.89% 55.69%) |
| HWB | hwb(242.65 29.02% 44.31%) |
| CMYK | cmyk(46% 48% 0% 44%) |
| Lab | lab(34.4 15.66 -37.99) |
| LCH | lch(34.4 41.09 292.41) |
| OKLab | oklab(44.625% 0.02459 -0.10614) |
| OKLCH | oklch(44.625% 0.10895 283.043) |
| Display P3 | color(display-p3 0.29991 0.2906 0.53958) |
| Rec. 2020 | color(rec2020 0.25512 0.2354 0.48927) |
| Adobe RGB | color(a98-rgb 0.30339 0.29547 0.54405) |
| ProPhoto RGB | color(prophoto-rgb 0.27812 0.23668 0.45612) |
| Linear sRGB | color(srgb-linear 0.07421 0.06848 0.2705) |
| XYZ D65 | color(xyz-d65 0.10391 0.08428 0.26671) |
| XYZ D50 | color(xyz-d50 0.09744 0.082 0.20084) |
| SwiftUI | Color(red: 0.302, green: 0.29, blue: 0.557) |
| UIKit | UIColor(red: 0.302, green: 0.29, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4A8E) |
| Android XML | #4D4A8E |

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

## Tints

#4d4a8e, #5c5b9a, #6c6da5, #7d7eb1, #8e90bc, #a0a2c7, #b2b4d3, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4d4a8e, #423f7b, #373568, #2c2a56, #222044, #181734, #0f0e24, #070615, #020207, #000001

## Tones

#4d4a8e, #4d4c88, #4e4d83, #4e4e7d, #4f4f78, #505072, #51516c, #515266, #525360, #53545a

## Harmonies

- Complementary: #4d4a8e, #605600
- Split: #4d4a8e, #784800, #3b6018
- Analogous: #4d4a8e, #21558e, #69407f
- Triadic: #4d4a8e, #843c1c, #006642
- Tetradic: #4d4a8e, #7c3864, #605600, #006642
- Square: #4d4a8e, #853643, #605600, #006463
- Monochromatic: #4d4a8e, #150546, #2f2969, #6e6db4, #9191dc

## Questions about #4d4a8e

### What color is #4d4a8e?

#4d4a8e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 74, 142), in HSL hsl(242.65, 31.48%, 42.35%) and in OKLCH oklch(44.625% 0.10895 283.043).

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

The complementary color of #4d4a8e is #605600. For a calmer combination use the analogous colors #21558e and #69407f. The triadic partners are #843c1c and #006642.

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

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

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

#4d4a8e is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.6% and its chroma 0.109.
