# #4c438e color: Moonlight Sonata

#4c438e is rgb(76, 67, 142) in RGB and oklch(43.151% 0.11975 285.697) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c438e |
| RGB | rgb(76, 67, 142) |
| HSL | hsl(247.2, 35.89%, 40.98%) |
| HSB / HSV | hsv(247.2 52.82% 55.69%) |
| HWB | hwb(247.2 26.27% 44.31%) |
| CMYK | cmyk(46% 53% 0% 44%) |
| Lab | lab(32.42 19.64 -41.14) |
| LCH | lch(32.42 45.59 295.52) |
| OKLab | oklab(43.151% 0.0324 -0.11528) |
| OKLCH | oklch(43.151% 0.11975 285.697) |
| Display P3 | color(display-p3 0.29214 0.26401 0.53867) |
| Rec. 2020 | color(rec2020 0.2445 0.2099 0.48808) |
| Adobe RGB | color(a98-rgb 0.29389 0.26993 0.54357) |
| ProPhoto RGB | color(prophoto-rgb 0.27013 0.21669 0.45457) |
| Linear sRGB | color(srgb-linear 0.07227 0.05613 0.2705) |
| XYZ D65 | color(xyz-d65 0.09869 0.07504 0.2652) |
| XYZ D50 | color(xyz-d50 0.09184 0.07272 0.19962) |
| SwiftUI | Color(red: 0.298, green: 0.263, blue: 0.557) |
| UIKit | UIColor(red: 0.298, green: 0.263, blue: 0.557, alpha: 1) |
| Flutter / Compose | Color(0xFF4C438E) |
| Android XML | #4C438E |

## 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.4:1
- Contrast with black: 2.5:1

## Tints

#4c438e, #5b559a, #6b67a5, #7c79b1, #8d8cbc, #9f9ec8, #b2b1d3, #c4c4de, #d8d8e9, #ebebf4

## Shades

#4c438e, #41397b, #362f68, #2c2656, #221d44, #181434, #0f0c24, #060515, #020107, #000001

## Tones

#4c438e, #4c4588, #4c4782, #4c497c, #4d4a76, #4d4b70, #4d4d6a, #4e4e63, #4f4f5d, #4f4f57

## Harmonies

- Complementary: #4c438e, #595300
- Split: #4c438e, #724500, #2f5e0c
- Analogous: #4c438e, #1b5090, #69387c
- Triadic: #4c438e, #833503, #006341
- Tetradic: #4c438e, #7c305e, #595300, #006341
- Square: #4c438e, #852e3a, #595300, #005f61
- Monochromatic: #4c438e, #150045, #2e2169, #6d66b4, #8f8adc

## Questions about #4c438e

### What color is #4c438e?

#4c438e is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 67, 142), in HSL hsl(247.2, 35.89%, 40.98%) and in OKLCH oklch(43.151% 0.11975 285.697).

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

The complementary color of #4c438e is #595300. For a calmer combination use the analogous colors #1b5090 and #69387c. The triadic partners are #833503 and #006341.

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

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

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

#4c438e is a cool color. In OKLCH its hue is 286 degrees, its lightness 43.2% and its chroma 0.12.
