# #4c4794 color: Moonlight Sonata

#4c4794 is rgb(76, 71, 148) in RGB and oklch(44.348% 0.12249 283.128) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c4794 |
| RGB | rgb(76, 71, 148) |
| HSL | hsl(243.9, 35.16%, 42.94%) |
| HSB / HSV | hsv(243.9 52.03% 58.04%) |
| HWB | hwb(243.9 27.84% 41.96%) |
| CMYK | cmyk(49% 52% 0% 42%) |
| Lab | lab(33.82 18.73 -42.56) |
| LCH | lch(33.82 46.5 293.75) |
| OKLab | oklab(44.348% 0.02782 -0.11929) |
| OKLCH | oklch(44.348% 0.12249 283.128) |
| Display P3 | color(display-p3 0.29467 0.27911 0.56149) |
| Rec. 2020 | color(rec2020 0.25133 0.22489 0.51254) |
| Adobe RGB | color(a98-rgb 0.29773 0.2845 0.56647) |
| ProPhoto RGB | color(prophoto-rgb 0.27931 0.22912 0.4781) |
| Linear sRGB | color(srgb-linear 0.07227 0.06301 0.29614) |
| XYZ D65 | color(xyz-d65 0.10578 0.08181 0.2904) |
| XYZ D50 | color(xyz-d50 0.09815 0.0792 0.2186) |
| SwiftUI | Color(red: 0.298, green: 0.278, blue: 0.58) |
| UIKit | UIColor(red: 0.298, green: 0.278, blue: 0.58, alpha: 1) |
| Flutter / Compose | Color(0xFF4C4794) |
| Android XML | #4C4794 |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.97:1
- Contrast with black: 2.64:1

## Tints

#4c4794, #5b599f, #6b6baa, #7c7db5, #8d8fc0, #9fa1cb, #b2b3d6, #c4c6e0, #d8d9eb, #ebecf5

## Shades

#4c4794, #413d80, #36326d, #2c285a, #221f48, #181636, #0f0d26, #060616, #020208, #000001

## Tones

#4c4794, #4c498e, #4d4b88, #4d4c81, #4e4e7b, #4f4f75, #4f506e, #505168, #515261, #52535a

## Harmonies

- Complementary: #4c4794, #5f5500
- Split: #4c4794, #784700, #366105
- Analogous: #4c4794, #155495, #6b3b83
- Triadic: #4c4794, #88370d, #006740
- Tetradic: #4c4794, #7f3365, #5f5500, #006740
- Square: #4c4794, #8a3040, #5f5500, #006362
- Monochromatic: #4c4794, #16004b, #2f256f, #6d6abb, #8f8ee2

## Questions about #4c4794

### What color is #4c4794?

#4c4794 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 71, 148), in HSL hsl(243.9, 35.16%, 42.94%) and in OKLCH oklch(44.348% 0.12249 283.128).

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

The complementary color of #4c4794 is #5f5500. For a calmer combination use the analogous colors #155495 and #6b3b83. The triadic partners are #88370d and #006740.

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

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

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

#4c4794 is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.3% and its chroma 0.122.
