# #4c4686 color: Moonlight Sonata

#4c4686 is rgb(76, 70, 134) in RGB and oklch(43.208% 0.10323 285.492) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4686 |
| RGB | rgb(76, 70, 134) |
| HSL | hsl(245.63, 31.37%, 40%) |
| HSB / HSV | hsv(245.63 47.76% 52.55%) |
| HWB | hwb(245.63 27.45% 47.45%) |
| CMYK | cmyk(43% 48% 0% 47%) |
| Lab | lab(32.8 15.81 -35.64) |
| LCH | lch(32.8 38.99 293.92) |
| OKLab | oklab(43.208% 0.02757 -0.09948) |
| OKLCH | oklch(43.208% 0.10323 285.492) |
| Display P3 | color(display-p3 0.29402 0.27533 0.50928) |
| Rec. 2020 | color(rec2020 0.2451 0.21983 0.45696) |
| Adobe RGB | color(a98-rgb 0.29675 0.28085 0.51371) |
| ProPhoto RGB | color(prophoto-rgb 0.26563 0.22334 0.42545) |
| Linear sRGB | color(srgb-linear 0.07227 0.06125 0.2384) |
| XYZ D65 | color(xyz-d65 0.09473 0.07638 0.2353) |
| XYZ D50 | color(xyz-d50 0.08921 0.07444 0.17719) |
| SwiftUI | Color(red: 0.298, green: 0.275, blue: 0.525) |
| UIKit | UIColor(red: 0.298, green: 0.275, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4686) |
| Android XML | #4C4686 |

## 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.31:1
- Contrast with black: 2.53:1

## Tints

#4c4686, #5b5792, #6c699f, #7c7bab, #8e8db7, #a09fc3, #b2b2cf, #c5c5db, #d8d8e7, #ebebf3

## Shades

#4c4686, #413c74, #363262, #2c2851, #221e40, #181530, #0f0d21, #060513, #020206, #000001

## Tones

#4c4686, #4c4881, #4c497c, #4d4a76, #4d4b71, #4d4c6c, #4e4d66, #4e4e61, #4f4f5c, #505056

## Harmonies

- Complementary: #4c4686, #595300
- Split: #4c4686, #704600, #355c1d
- Analogous: #4c4686, #255188, #663d76
- Triadic: #4c4686, #7d3b18, #006142
- Tetradic: #4c4686, #77365d, #595300, #006142
- Square: #4c4686, #7f353d, #595300, #005f61
- Monochromatic: #4c4686, #14033f, #2e2562, #6d68ac, #908cd3

## Questions about #4c4686

### What color is #4c4686?

#4c4686 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 70, 134), in HSL hsl(245.63, 31.37%, 40%) and in OKLCH oklch(43.208% 0.10323 285.492).

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

The complementary color of #4c4686 is #595300. For a calmer combination use the analogous colors #255188 and #663d76. The triadic partners are #7d3b18 and #006142.

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

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

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

#4c4686 is a cool color. In OKLCH its hue is 285 degrees, its lightness 43.2% and its chroma 0.103.
