# #4b478d color: Moonlight Sonata

#4b478d is rgb(75, 71, 141) in RGB and oklch(43.785% 0.11229 283.312) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b478d |
| RGB | rgb(75, 71, 141) |
| HSL | hsl(243.43, 33.02%, 41.57%) |
| HSB / HSV | hsv(243.43 49.65% 55.29%) |
| HWB | hwb(243.43 27.84% 44.71%) |
| CMYK | cmyk(47% 50% 0% 45%) |
| Lab | lab(33.34 16.65 -39.06) |
| LCH | lch(33.34 42.46 293.09) |
| OKLab | oklab(43.785% 0.02586 -0.10928) |
| OKLCH | oklch(43.785% 0.11229 283.312) |
| Display P3 | color(display-p3 0.29141 0.27897 0.5354) |
| Rec. 2020 | color(rec2020 0.24631 0.22385 0.48473) |
| Adobe RGB | color(a98-rgb 0.29506 0.2845 0.54007) |
| ProPhoto RGB | color(prophoto-rgb 0.2712 0.22726 0.45164) |
| Linear sRGB | color(srgb-linear 0.07036 0.06301 0.26636) |
| XYZ D65 | color(xyz-d65 0.09962 0.07925 0.26205) |
| XYZ D50 | color(xyz-d50 0.09306 0.07697 0.1973) |
| SwiftUI | Color(red: 0.294, green: 0.278, blue: 0.553) |
| UIKit | UIColor(red: 0.294, green: 0.278, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4B478D) |
| Android XML | #4B478D |

## 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.12:1
- Contrast with black: 2.59:1

## Tints

#4b478d, #5a5999, #6b6aa5, #7b7cb0, #8d8ebc, #9fa0c7, #b1b3d2, #c4c5de, #d7d8e9, #ebecf4

## Shades

#4b478d, #403d7a, #353267, #2b2855, #211f44, #171633, #0e0d23, #060614, #020207, #000001

## Tones

#4b478d, #4b4987, #4c4a82, #4c4c7c, #4d4d76, #4e4e70, #4e4f6a, #4f5064, #50515e, #515158

## Harmonies

- Complementary: #4b478d, #5d5300
- Split: #4b478d, #764500, #375e12
- Analogous: #4b478d, #1c538e, #673c7d
- Triadic: #4b478d, #833915, #006440
- Tetradic: #4b478d, #7b3562, #5d5300, #006440
- Square: #4b478d, #843340, #5d5300, #006160
- Monochromatic: #4b478d, #140245, #2d2568, #6c6ab3, #8e8edb

## Questions about #4b478d

### What color is #4b478d?

#4b478d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 71, 141), in HSL hsl(243.43, 33.02%, 41.57%) and in OKLCH oklch(43.785% 0.11229 283.312).

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

The complementary color of #4b478d is #5d5300. For a calmer combination use the analogous colors #1c538e and #673c7d. The triadic partners are #833915 and #006440.

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

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

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

#4b478d is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.8% and its chroma 0.112.
