# #4c438b color: Moonlight Sonata

#4c438b is rgb(76, 67, 139) in RGB and oklch(42.944% 0.11536 286.184) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4c438b |
| RGB | rgb(76, 67, 139) |
| HSL | hsl(247.5, 34.95%, 40.39%) |
| HSB / HSV | hsv(247.5 51.8% 54.51%) |
| HWB | hwb(247.5 26.27% 45.49%) |
| CMYK | cmyk(45% 52% 0% 45%) |
| Lab | lab(32.25 18.89 -39.57) |
| LCH | lch(32.25 43.85 295.51) |
| OKLab | oklab(42.944% 0.03215 -0.11079) |
| OKLCH | oklch(42.944% 0.11536 286.184) |
| Display P3 | color(display-p3 0.29214 0.26401 0.5275) |
| Rec. 2020 | color(rec2020 0.2434 0.20957 0.4762) |
| Adobe RGB | color(a98-rgb 0.29389 0.26993 0.53227) |
| ProPhoto RGB | color(prophoto-rgb 0.26738 0.21603 0.44334) |
| Linear sRGB | color(srgb-linear 0.07227 0.05613 0.25818) |
| XYZ D65 | color(xyz-d65 0.09647 0.07415 0.2535) |
| XYZ D50 | color(xyz-d50 0.09007 0.07197 0.19082) |
| SwiftUI | Color(red: 0.298, green: 0.263, blue: 0.545) |
| UIKit | UIColor(red: 0.298, green: 0.263, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4C438B) |
| Android XML | #4C438B |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.46:1
- Contrast with black: 2.48:1

## Tints

#4c438b, #5b5597, #6b67a3, #7c79af, #8e8cba, #9f9ec6, #b2b1d2, #c4c4dd, #d8d8e8, #ebebf4

## Shades

#4c438b, #413978, #362f66, #2c2654, #221d43, #181432, #0f0c23, #060514, #020107, #000001

## Tones

#4c438b, #4c4585, #4c4780, #4c487a, #4d4a74, #4d4b6e, #4d4c68, #4e4d62, #4e4e5c, #4f4f56

## Harmonies

- Complementary: #4c438b, #585200
- Split: #4c438b, #714500, #2f5d12
- Analogous: #4c438b, #1f4f8d, #683879
- Triadic: #4c438b, #813608, #006241
- Tetradic: #4c438b, #7a315d, #585200, #006241
- Square: #4c438b, #832f39, #585200, #005e60
- Monochromatic: #4c438b, #150043, #2e2166, #6d66b1, #8f8ad9

## Questions about #4c438b

### What color is #4c438b?

#4c438b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 67, 139), in HSL hsl(247.5, 34.95%, 40.39%) and in OKLCH oklch(42.944% 0.11536 286.184).

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

The complementary color of #4c438b is #585200. For a calmer combination use the analogous colors #1f4f8d and #683879. The triadic partners are #813608 and #006241.

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

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

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

#4c438b is a cool color. In OKLCH its hue is 286 degrees, its lightness 42.9% and its chroma 0.115.
