# #4c4687 color: Moonlight Sonata

#4c4687 is rgb(76, 70, 135) in RGB and oklch(43.273% 0.10474 285.342) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4687 |
| RGB | rgb(76, 70, 135) |
| HSL | hsl(245.54, 31.71%, 40.2%) |
| HSB / HSV | hsv(245.54 48.15% 52.94%) |
| HWB | hwb(245.54 27.45% 47.06%) |
| CMYK | cmyk(44% 48% 0% 47%) |
| Lab | lab(32.85 16.06 -36.17) |
| LCH | lch(32.85 39.57 293.94) |
| OKLab | oklab(43.273% 0.02771 -0.101) |
| OKLCH | oklch(43.273% 0.10474 285.342) |
| Display P3 | color(display-p3 0.29402 0.27533 0.513) |
| Rec. 2020 | color(rec2020 0.24544 0.21993 0.4609) |
| Adobe RGB | color(a98-rgb 0.29675 0.28085 0.51746) |
| ProPhoto RGB | color(prophoto-rgb 0.26651 0.22354 0.42914) |
| Linear sRGB | color(srgb-linear 0.07227 0.06125 0.24228) |
| XYZ D65 | color(xyz-d65 0.09543 0.07666 0.23899) |
| XYZ D50 | color(xyz-d50 0.08977 0.07467 0.17996) |
| SwiftUI | Color(red: 0.298, green: 0.275, blue: 0.529) |
| UIKit | UIColor(red: 0.298, green: 0.275, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4687) |
| Android XML | #4C4687 |

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

## Tints

#4c4687, #5b5893, #6c699f, #7c7bac, #8e8db8, #a09fc4, #b2b2d0, #c5c5db, #d8d8e7, #ebebf3

## Shades

#4c4687, #413c75, #363263, #2c2851, #221e41, #181531, #0f0d21, #060513, #020206, #000001

## Tones

#4c4687, #4c4882, #4c497c, #4d4a77, #4d4b72, #4d4d6c, #4e4d67, #4e4e61, #4f4f5c, #505056

## Harmonies

- Complementary: #4c4687, #595300
- Split: #4c4687, #714600, #355d1b
- Analogous: #4c4687, #245189, #663c77
- Triadic: #4c4687, #7e3a17, #006242
- Tetradic: #4c4687, #78365d, #595300, #006242
- Square: #4c4687, #80343d, #595300, #006061
- Monochromatic: #4c4687, #140340, #2e2563, #6d68ad, #908cd4

## Questions about #4c4687

### What color is #4c4687?

#4c4687 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 70, 135), in HSL hsl(245.54, 31.71%, 40.2%) and in OKLCH oklch(43.273% 0.10474 285.342).

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

The complementary color of #4c4687 is #595300. For a calmer combination use the analogous colors #245189 and #663c77. The triadic partners are #7e3a17 and #006242.

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

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

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

#4c4687 is a cool color. In OKLCH its hue is 285 degrees, its lightness 43.3% and its chroma 0.105.
