# #4d498b color: Moonlight Sonata

#4d498b is rgb(77, 73, 139) in RGB and oklch(44.227% 0.10598 283.923) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d498b |
| RGB | rgb(77, 73, 139) |
| HSL | hsl(243.64, 31.13%, 41.57%) |
| HSB / HSV | hsv(243.64 47.48% 54.51%) |
| HWB | hwb(243.64 28.63% 45.49%) |
| CMYK | cmyk(45% 47% 0% 45%) |
| Lab | lab(33.97 15.52 -36.84) |
| LCH | lch(33.97 39.97 292.85) |
| OKLab | oklab(44.227% 0.0255 -0.10286) |
| OKLCH | oklch(44.227% 0.10598 283.923) |
| Display P3 | color(display-p3 0.29925 0.28681 0.5283) |
| Rec. 2020 | color(rec2020 0.25286 0.23147 0.47724) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.53269) |
| ProPhoto RGB | color(prophoto-rgb 0.27448 0.23321 0.44469) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.25818) |
| XYZ D65 | color(xyz-d65 0.10103 0.08207 0.25479) |
| XYZ D50 | color(xyz-d50 0.09496 0.07993 0.19187) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.545) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4D498B) |
| Android XML | #4D498B |

## 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.95:1
- Contrast with black: 2.64:1

## Tints

#4d498b, #5c5a97, #6c6ca3, #7d7dae, #8e8fba, #a0a1c6, #b2b3d1, #c5c6dd, #d8d9e8, #ebecf4

## Shades

#4d498b, #423e78, #373466, #2c2a54, #222043, #181732, #0f0e23, #070614, #020207, #000001

## Tones

#4d498b, #4d4b86, #4e4c80, #4e4d7b, #4f4e75, #4f4f70, #50506a, #515165, #51525f, #525259

## Harmonies

- Complementary: #4d498b, #5e5500
- Split: #4d498b, #754800, #395f1b
- Analogous: #4d498b, #24548c, #683f7c
- Triadic: #4d498b, #823c1b, #006543
- Tetradic: #4d498b, #7a3861, #5e5500, #006543
- Square: #4d498b, #833641, #5e5500, #006362
- Monochromatic: #4d498b, #150543, #2f2866, #6e6cb1, #9190d8

## Questions about #4d498b

### What color is #4d498b?

#4d498b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 139), in HSL hsl(243.64, 31.13%, 41.57%) and in OKLCH oklch(44.227% 0.10598 283.923).

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

The complementary color of #4d498b is #5e5500. For a calmer combination use the analogous colors #24548c and #683f7c. The triadic partners are #823c1b and #006543.

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

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

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

#4d498b is a cool color. In OKLCH its hue is 284 degrees, its lightness 44.2% and its chroma 0.106.
