# #4d4a8d color: Moonlight Sonata

#4d4a8d is rgb(77, 74, 141) in RGB and oklch(44.56% 0.10745 283.153) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4a8d |
| RGB | rgb(77, 74, 141) |
| HSL | hsl(242.69, 31.16%, 42.16%) |
| HSB / HSV | hsv(242.69 47.52% 55.29%) |
| HWB | hwb(242.69 29.02% 44.71%) |
| CMYK | cmyk(45% 48% 0% 45%) |
| Lab | lab(34.34 15.41 -37.46) |
| LCH | lch(34.34 40.51 292.36) |
| OKLab | oklab(44.56% 0.02445 -0.10463) |
| OKLCH | oklch(44.56% 0.10745 283.153) |
| Display P3 | color(display-p3 0.29991 0.2906 0.53586) |
| Rec. 2020 | color(rec2020 0.25477 0.2353 0.48532) |
| Adobe RGB | color(a98-rgb 0.30339 0.29547 0.54028) |
| ProPhoto RGB | color(prophoto-rgb 0.27722 0.23648 0.45238) |
| Linear sRGB | color(srgb-linear 0.07421 0.06848 0.26636) |
| XYZ D65 | color(xyz-d65 0.10316 0.08398 0.26278) |
| XYZ D50 | color(xyz-d50 0.09685 0.08175 0.19789) |
| SwiftUI | Color(red: 0.302, green: 0.29, blue: 0.553) |
| UIKit | UIColor(red: 0.302, green: 0.29, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4A8D) |
| Android XML | #4D4A8D |

## 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.84:1
- Contrast with black: 2.68:1

## Tints

#4d4a8d, #5c5b99, #6c6da4, #7d7eb0, #8e90bb, #a0a2c7, #b2b4d2, #c5c6dd, #d8d9e9, #ebecf4

## Shades

#4d4a8d, #423f7a, #373567, #2c2a55, #222044, #181733, #0f0e23, #070614, #020207, #000001

## Tones

#4d4a8d, #4d4c88, #4e4d82, #4e4e7c, #4f4f77, #505071, #50516c, #515266, #525360, #53535a

## Harmonies

- Complementary: #4d4a8d, #5f5500
- Split: #4d4a8d, #774800, #3b601a
- Analogous: #4d4a8d, #22558e, #69407e
- Triadic: #4d4a8d, #833d1c, #006643
- Tetradic: #4d4a8d, #7b3963, #5f5500, #006643
- Square: #4d4a8d, #853743, #5f5500, #006463
- Monochromatic: #4d4a8d, #150645, #2f2968, #6e6db3, #9191da

## Questions about #4d4a8d

### What color is #4d4a8d?

#4d4a8d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 74, 141), in HSL hsl(242.69, 31.16%, 42.16%) and in OKLCH oklch(44.56% 0.10745 283.153).

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

The complementary color of #4d4a8d is #5f5500. For a calmer combination use the analogous colors #22558e and #69407e. The triadic partners are #833d1c and #006643.

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

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

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

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