# #4d4986 color: Moonlight Sonata

#4d4986 is rgb(77, 73, 134) in RGB and oklch(43.909% 0.0984 284.558) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d4986 |
| RGB | rgb(77, 73, 134) |
| HSL | hsl(243.93, 29.47%, 40.59%) |
| HSB / HSV | hsv(243.93 45.52% 52.55%) |
| HWB | hwb(243.93 28.63% 47.45%) |
| CMYK | cmyk(43% 46% 0% 47%) |
| Lab | lab(33.72 14.29 -34.17) |
| LCH | lch(33.72 37.04 292.69) |
| OKLab | oklab(43.909% 0.02473 -0.09524) |
| OKLCH | oklch(43.909% 0.0984 284.558) |
| Display P3 | color(display-p3 0.29925 0.28681 0.50973) |
| Rec. 2020 | color(rec2020 0.25115 0.23099 0.45754) |
| Adobe RGB | color(a98-rgb 0.30239 0.29181 0.51394) |
| ProPhoto RGB | color(prophoto-rgb 0.2701 0.23221 0.42619) |
| Linear sRGB | color(srgb-linear 0.07421 0.06663 0.2384) |
| XYZ D65 | color(xyz-d65 0.09746 0.08064 0.23598) |
| XYZ D50 | color(xyz-d50 0.09213 0.07873 0.17774) |
| SwiftUI | Color(red: 0.302, green: 0.286, blue: 0.525) |
| UIKit | UIColor(red: 0.302, green: 0.286, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4D4986) |
| Android XML | #4D4986 |

## 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: 8.04:1
- Contrast with black: 2.61:1

## Tints

#4d4986, #5c5a92, #6d6b9e, #7d7dab, #8f8fb7, #a0a1c3, #b3b3cf, #c5c6db, #d8d9e7, #ebecf3

## Shades

#4d4986, #423e74, #373462, #2c2a51, #222040, #181730, #0f0e21, #070613, #020206, #000001

## Tones

#4d4986, #4d4a81, #4e4c7c, #4e4d77, #4e4e72, #4f4f6d, #4f5068, #505062, #51515d, #515258

## Harmonies

- Complementary: #4d4986, #5b5400
- Split: #4d4986, #724800, #3a5e21
- Analogous: #4d4986, #285387, #664077
- Triadic: #4d4986, #7e3e1f, #006344
- Tetradic: #4d4986, #773a5f, #5b5400, #006344
- Square: #4d4986, #7f3841, #5b5400, #006262
- Monochromatic: #4d4986, #15073f, #2f2862, #6e6bac, #918fd3

## Questions about #4d4986

### What color is #4d4986?

#4d4986 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 73, 134), in HSL hsl(243.93, 29.47%, 40.59%) and in OKLCH oklch(43.909% 0.0984 284.558).

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

The complementary color of #4d4986 is #5b5400. For a calmer combination use the analogous colors #285387 and #664077. The triadic partners are #7e3e1f and #006344.

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

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

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

#4d4986 is a cool color. In OKLCH its hue is 285 degrees, its lightness 43.9% and its chroma 0.098.
