# #4c458f color: Moonlight Sonata

#4c458f is rgb(76, 69, 143) in RGB and oklch(43.61% 0.11817 284.667) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c458f |
| RGB | rgb(76, 69, 143) |
| HSL | hsl(245.68, 34.91%, 41.57%) |
| HSB / HSV | hsv(245.68 51.75% 56.08%) |
| HWB | hwb(245.68 27.06% 43.92%) |
| CMYK | cmyk(47% 52% 0% 44%) |
| Lab | lab(33 18.67 -40.82) |
| LCH | lch(33 44.88 294.58) |
| OKLab | oklab(43.61% 0.02992 -0.11432) |
| OKLCH | oklch(43.61% 0.11817 284.667) |
| Display P3 | color(display-p3 0.29339 0.27155 0.54263) |
| Rec. 2020 | color(rec2020 0.24714 0.21716 0.49236) |
| Adobe RGB | color(a98-rgb 0.29578 0.27721 0.54747) |
| ProPhoto RGB | color(prophoto-rgb 0.27282 0.22243 0.45875) |
| Linear sRGB | color(srgb-linear 0.07227 0.05951 0.27468) |
| XYZ D65 | color(xyz-d65 0.10066 0.07776 0.26958) |
| XYZ D50 | color(xyz-d50 0.09374 0.07539 0.20293) |
| SwiftUI | Color(red: 0.298, green: 0.271, blue: 0.561) |
| UIKit | UIColor(red: 0.298, green: 0.271, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4C458F) |
| Android XML | #4C458F |

## 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.22:1
- Contrast with black: 2.56:1

## Tints

#4c458f, #5b579b, #6b69a6, #7c7bb2, #8d8dbd, #9f9fc8, #b2b2d3, #c4c5de, #d8d8e9, #ebebf4

## Shades

#4c458f, #413b7c, #363169, #2c2757, #221e45, #181534, #0f0c24, #060515, #020207, #000001

## Tones

#4c458f, #4c4789, #4c4983, #4d4a7d, #4d4c77, #4e4d71, #4e4e6b, #4f4f65, #50505e, #505158

## Harmonies

- Complementary: #4c458f, #5c5300
- Split: #4c458f, #744600, #335f0d
- Analogous: #4c458f, #1b5190, #693a7e
- Triadic: #4c458f, #84370b, #006440
- Tetradic: #4c458f, #7c3260, #5c5300, #006440
- Square: #4c458f, #86303c, #5c5300, #006161
- Monochromatic: #4c458f, #150046, #2e236a, #6d68b5, #8f8cdd

## Questions about #4c458f

### What color is #4c458f?

#4c458f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 69, 143), in HSL hsl(245.68, 34.91%, 41.57%) and in OKLCH oklch(43.61% 0.11817 284.667).

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

The complementary color of #4c458f is #5c5300. For a calmer combination use the analogous colors #1b5190 and #693a7e. The triadic partners are #84370b and #006440.

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

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

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

#4c458f is a cool color. In OKLCH its hue is 285 degrees, its lightness 43.6% and its chroma 0.118.
