# #4c4587 color: Moonlight Sonata

#4c4587 is rgb(76, 69, 135) in RGB and oklch(43.071% 0.10631 285.866) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4587 |
| RGB | rgb(76, 69, 135) |
| HSL | hsl(246.36, 32.35%, 40%) |
| HSB / HSV | hsv(246.36 48.89% 52.94%) |
| HWB | hwb(246.36 27.06% 47.06%) |
| CMYK | cmyk(44% 49% 0% 47%) |
| Lab | lab(32.58 16.67 -36.6) |
| LCH | lch(32.58 40.22 294.48) |
| OKLab | oklab(43.071% 0.02906 -0.10226) |
| OKLCH | oklch(43.071% 0.10631 285.866) |
| Display P3 | color(display-p3 0.29339 0.27155 0.51287) |
| Rec. 2020 | color(rec2020 0.24428 0.21632 0.46073) |
| Adobe RGB | color(a98-rgb 0.29578 0.27721 0.51739) |
| ProPhoto RGB | color(prophoto-rgb 0.26559 0.22074 0.42892) |
| Linear sRGB | color(srgb-linear 0.07227 0.05951 0.24228) |
| XYZ D65 | color(xyz-d65 0.09481 0.07542 0.23879) |
| XYZ D50 | color(xyz-d50 0.0891 0.07343 0.1798) |
| SwiftUI | Color(red: 0.298, green: 0.271, blue: 0.529) |
| UIKit | UIColor(red: 0.298, green: 0.271, blue: 0.529, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4587) |
| Android XML | #4C4587 |

## 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.37:1
- Contrast with black: 2.51:1

## Tints

#4c4587, #5b5793, #6c689f, #7c7aac, #8e8cb8, #a09fc4, #b2b2d0, #c5c5db, #d8d8e7, #ebebf3

## Shades

#4c4587, #413b75, #363163, #2c2751, #221e41, #181531, #0f0c21, #060513, #020206, #000001

## Tones

#4c4587, #4c4782, #4c487c, #4c4977, #4d4b72, #4d4c6c, #4e4d67, #4e4e61, #4f4e5b, #4f4f56

## Harmonies

- Complementary: #4c4587, #585200
- Split: #4c4587, #714600, #335c1a
- Analogous: #4c4587, #245089, #663b77
- Triadic: #4c4587, #7e3a14, #006242
- Tetradic: #4c4587, #78345c, #585200, #006242
- Square: #4c4587, #80333c, #585200, #005f60
- Monochromatic: #4c4587, #140240, #2e2463, #6d67ad, #908bd4

## Questions about #4c4587

### What color is #4c4587?

#4c4587 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 69, 135), in HSL hsl(246.36, 32.35%, 40%) and in OKLCH oklch(43.071% 0.10631 285.866).

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

The complementary color of #4c4587 is #585200. For a calmer combination use the analogous colors #245089 and #663b77. The triadic partners are #7e3a14 and #006242.

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

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

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

#4c4587 is a cool color. In OKLCH its hue is 286 degrees, its lightness 43.1% and its chroma 0.106.
