# #4c458d color: Moonlight Sonata

#4c458d is rgb(76, 69, 141) in RGB and oklch(43.473% 0.11523 284.955) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c458d |
| RGB | rgb(76, 69, 141) |
| HSL | hsl(245.83, 34.29%, 41.18%) |
| HSB / HSV | hsv(245.83 51.06% 55.29%) |
| HWB | hwb(245.83 27.06% 44.71%) |
| CMYK | cmyk(46% 51% 0% 45%) |
| Lab | lab(32.9 18.17 -39.77) |
| LCH | lch(32.9 43.72 294.55) |
| OKLab | oklab(43.473% 0.02974 -0.11133) |
| OKLCH | oklch(43.473% 0.11523 284.955) |
| Display P3 | color(display-p3 0.29339 0.27155 0.53519) |
| Rec. 2020 | color(rec2020 0.24641 0.21695 0.48444) |
| Adobe RGB | color(a98-rgb 0.29578 0.27721 0.53993) |
| ProPhoto RGB | color(prophoto-rgb 0.27098 0.222 0.45124) |
| Linear sRGB | color(srgb-linear 0.07227 0.05951 0.26636) |
| XYZ D65 | color(xyz-d65 0.09916 0.07716 0.26167) |
| XYZ D50 | color(xyz-d50 0.09255 0.07489 0.19699) |
| SwiftUI | Color(red: 0.298, green: 0.271, blue: 0.553) |
| UIKit | UIColor(red: 0.298, green: 0.271, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4C458D) |
| Android XML | #4C458D |

## 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: 8.26:1
- Contrast with black: 2.54:1

## Tints

#4c458d, #5b5799, #6b69a5, #7c7bb0, #8e8dbc, #9f9fc7, #b2b2d2, #c4c5de, #d8d8e9, #ebebf4

## Shades

#4c458d, #413b7a, #363167, #2c2755, #221e44, #181533, #0f0c23, #060514, #020207, #000001

## Tones

#4c458d, #4c4787, #4c4981, #4d4a7c, #4d4b76, #4e4d70, #4e4e6a, #4f4f64, #4f505e, #505057

## Harmonies

- Complementary: #4c458d, #5b5300
- Split: #4c458d, #744600, #335e11
- Analogous: #4c458d, #1d518f, #683a7c
- Triadic: #4c458d, #82370e, #006441
- Tetradic: #4c458d, #7b335f, #5b5300, #006441
- Square: #4c458d, #84313c, #5b5300, #006061
- Monochromatic: #4c458d, #150045, #2e2368, #6d68b3, #8f8cdb

## Questions about #4c458d

### What color is #4c458d?

#4c458d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 69, 141), in HSL hsl(245.83, 34.29%, 41.18%) and in OKLCH oklch(43.473% 0.11523 284.955).

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

The complementary color of #4c458d is #5b5300. For a calmer combination use the analogous colors #1d518f and #683a7c. The triadic partners are #82370e and #006441.

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

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

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

#4c458d is a cool color. In OKLCH its hue is 285 degrees, its lightness 43.5% and its chroma 0.115.
