# #4c4889 color: Moonlight Sonata

#4c4889 is rgb(76, 72, 137) in RGB and oklch(43.809% 0.10463 283.987) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4889 |
| RGB | rgb(76, 72, 137) |
| HSL | hsl(243.69, 31.1%, 40.98%) |
| HSB / HSV | hsv(243.69 47.45% 53.73%) |
| HWB | hwb(243.69 28.24% 46.27%) |
| CMYK | cmyk(45% 47% 0% 46%) |
| Lab | lab(33.5 15.33 -36.36) |
| LCH | lch(33.5 39.46 292.86) |
| OKLab | oklab(43.809% 0.02529 -0.10153) |
| OKLCH | oklch(43.809% 0.10463 283.987) |
| Display P3 | color(display-p3 0.29533 0.28289 0.5207) |
| Rec. 2020 | color(rec2020 0.24852 0.22736 0.46914) |
| Adobe RGB | color(a98-rgb 0.29872 0.28815 0.52511) |
| ProPhoto RGB | color(prophoto-rgb 0.27014 0.22961 0.43699) |
| Linear sRGB | color(srgb-linear 0.07227 0.0648 0.25016) |
| XYZ D65 | color(xyz-d65 0.09813 0.07977 0.2469) |
| XYZ D50 | color(xyz-d50 0.09227 0.0777 0.18594) |
| SwiftUI | Color(red: 0.298, green: 0.282, blue: 0.537) |
| UIKit | UIColor(red: 0.298, green: 0.282, blue: 0.537, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4889) |
| Android XML | #4C4889 |

## 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.09:1
- Contrast with black: 2.6:1

## Tints

#4c4889, #5b5995, #6c6ba1, #7c7cad, #8e8eb9, #a0a0c5, #b2b3d0, #c5c6dc, #d8d8e8, #ebecf3

## Shades

#4c4889, #413d76, #363364, #2c2953, #221f42, #181631, #0f0d22, #060614, #020207, #000001

## Tones

#4c4889, #4c4984, #4d4b7e, #4d4c79, #4e4d74, #4e4e6e, #4f4f69, #4f5063, #50515d, #515158

## Harmonies

- Complementary: #4c4889, #5c5400
- Split: #4c4889, #734700, #385e1b
- Analogous: #4c4889, #23538a, #673e7a
- Triadic: #4c4889, #803c1b, #006342
- Tetradic: #4c4889, #793760, #5c5400, #006342
- Square: #4c4889, #813640, #5c5400, #006161
- Monochromatic: #4c4889, #140442, #2e2765, #6d6baf, #908fd6

## Questions about #4c4889

### What color is #4c4889?

#4c4889 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 72, 137), in HSL hsl(243.69, 31.1%, 40.98%) and in OKLCH oklch(43.809% 0.10463 283.987).

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

The complementary color of #4c4889 is #5c5400. For a calmer combination use the analogous colors #23538a and #673e7a. The triadic partners are #803c1b and #006342.

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

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

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

#4c4889 is a cool color. In OKLCH its hue is 284 degrees, its lightness 43.8% and its chroma 0.105.
