# #4d488d color: Moonlight Sonata

#4d488d is rgb(77, 72, 141) in RGB and oklch(44.156% 0.11051 284.191) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d488d |
| RGB | rgb(77, 72, 141) |
| HSL | hsl(244.35, 32.39%, 41.76%) |
| HSB / HSV | hsv(244.35 48.94% 55.29%) |
| HWB | hwb(244.35 28.24% 44.71%) |
| CMYK | cmyk(45% 49% 0% 45%) |
| Lab | lab(33.8 16.63 -38.33) |
| LCH | lch(33.8 41.78 293.46) |
| OKLab | oklab(44.156% 0.02709 -0.10714) |
| OKLCH | oklch(44.156% 0.11051 284.191) |
| Display P3 | color(display-p3 0.29859 0.28303 0.5356) |
| Rec. 2020 | color(rec2020 0.25237 0.22805 0.48497) |
| Adobe RGB | color(a98-rgb 0.30139 0.28815 0.54014) |
| ProPhoto RGB | color(prophoto-rgb 0.27533 0.23077 0.45193) |
| Linear sRGB | color(srgb-linear 0.07421 0.0648 0.26636) |
| XYZ D65 | color(xyz-d65 0.10185 0.08135 0.26234) |
| XYZ D50 | color(xyz-d50 0.09543 0.07912 0.19753) |
| SwiftUI | Color(red: 0.302, green: 0.282, blue: 0.553) |
| UIKit | UIColor(red: 0.302, green: 0.282, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4D488D) |
| Android XML | #4D488D |

## 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

#4d488d, #5c5a99, #6c6ba4, #7d7db0, #8e8fbc, #a0a1c7, #b2b3d2, #c5c6de, #d8d9e9, #ebecf4

## Shades

#4d488d, #423d7a, #373367, #2c2955, #221f44, #181633, #0f0d23, #070614, #020207, #000001

## Tones

#4d488d, #4d4a87, #4e4b82, #4e4d7c, #4f4e76, #4f4f71, #50506b, #505165, #51525f, #525259

## Harmonies

- Complementary: #4d488d, #5e5500
- Split: #4d488d, #764700, #376017
- Analogous: #4d488d, #21548e, #693e7d
- Triadic: #4d488d, #833b17, #006542
- Tetradic: #4d488d, #7c3662, #5e5500, #006542
- Square: #4d488d, #853440, #5e5500, #006262
- Monochromatic: #4d488d, #150345, #2f2768, #6e6bb3, #918fdb

## Questions about #4d488d

### What color is #4d488d?

#4d488d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 72, 141), in HSL hsl(244.35, 32.39%, 41.76%) and in OKLCH oklch(44.156% 0.11051 284.191).

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

The complementary color of #4d488d is #5e5500. For a calmer combination use the analogous colors #21548e and #693e7d. The triadic partners are #833b17 and #006542.

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

White text reads better on #4d488d: 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 #4d488d a warm or cool color?

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