# #4d468b color: Moonlight Sonata

#4d468b is rgb(77, 70, 139) in RGB and oklch(43.624% 0.11062 285.467) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4d468b |
| RGB | rgb(77, 70, 139) |
| HSL | hsl(246.09, 33.01%, 40.98%) |
| HSB / HSV | hsv(246.09 49.64% 54.51%) |
| HWB | hwb(246.09 27.45% 45.49%) |
| CMYK | cmyk(45% 50% 0% 45%) |
| Lab | lab(33.15 17.35 -38.13) |
| LCH | lch(33.15 41.9 294.46) |
| OKLab | oklab(43.624% 0.0295 -0.10662) |
| OKLCH | oklch(43.624% 0.11062 285.467) |
| Display P3 | color(display-p3 0.2973 0.27547 0.5279) |
| Rec. 2020 | color(rec2020 0.24931 0.22063 0.47672) |
| Adobe RGB | color(a98-rgb 0.29945 0.28085 0.53248) |
| ProPhoto RGB | color(prophoto-rgb 0.27169 0.22472 0.44401) |
| Linear sRGB | color(srgb-linear 0.07421 0.06125 0.25818) |
| XYZ D65 | color(xyz-d65 0.0991 0.07822 0.25415) |
| XYZ D50 | color(xyz-d50 0.09289 0.07607 0.19135) |
| SwiftUI | Color(red: 0.302, green: 0.275, blue: 0.545) |
| UIKit | UIColor(red: 0.302, green: 0.275, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF4D468B) |
| Android XML | #4D468B |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Indigo, soft dark indigo
- Closest Tailwind class: slate-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.19:1
- Contrast with black: 2.56:1

## Tints

#4d468b, #5c5897, #6c69a3, #7d7baf, #8e8dba, #a0a0c6, #b2b2d1, #c5c5dd, #d8d8e8, #ebebf4

## Shades

#4d468b, #423c78, #373266, #2c2854, #221e43, #181532, #0f0d23, #070514, #020207, #000001

## Tones

#4d468b, #4d4885, #4d4980, #4e4b7a, #4e4c75, #4e4d6f, #4f4e69, #4f4f63, #50505e, #515158

## Harmonies

- Complementary: #4d468b, #5b5400
- Split: #4d468b, #744600, #345e18
- Analogous: #4d468b, #22528d, #683c7a
- Triadic: #4d468b, #813a12, #006442
- Tetradic: #4d468b, #7b355f, #5b5400, #006442
- Square: #4d468b, #83333d, #5b5400, #006162
- Monochromatic: #4d468b, #150143, #2f2566, #6e69b1, #918dd8

## Questions about #4d468b

### What color is #4d468b?

#4d468b is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(77, 70, 139), in HSL hsl(246.09, 33.01%, 40.98%) and in OKLCH oklch(43.624% 0.11062 285.467).

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

The complementary color of #4d468b is #5b5400. For a calmer combination use the analogous colors #22528d and #683c7a. The triadic partners are #813a12 and #006442.

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

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

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

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