# #4b478f color: Moonlight Sonata

#4b478f is rgb(75, 71, 143) in RGB and oklch(43.92% 0.11527 283.075) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4b478f |
| RGB | rgb(75, 71, 143) |
| HSL | hsl(243.33, 33.64%, 41.96%) |
| HSB / HSV | hsv(243.33 50.35% 56.08%) |
| HWB | hwb(243.33 27.84% 43.92%) |
| CMYK | cmyk(48% 50% 0% 44%) |
| Lab | lab(33.45 17.16 -40.11) |
| LCH | lch(33.45 43.63 293.17) |
| OKLab | oklab(43.92% 0.02608 -0.11228) |
| OKLCH | oklch(43.92% 0.11527 283.075) |
| Display P3 | color(display-p3 0.29141 0.27897 0.54285) |
| Rec. 2020 | color(rec2020 0.24704 0.22406 0.49265) |
| Adobe RGB | color(a98-rgb 0.29506 0.2845 0.5476) |
| ProPhoto RGB | color(prophoto-rgb 0.27304 0.22768 0.45914) |
| Linear sRGB | color(srgb-linear 0.07036 0.06301 0.27468) |
| XYZ D65 | color(xyz-d65 0.10112 0.07985 0.26996) |
| XYZ D50 | color(xyz-d50 0.09425 0.07748 0.20324) |
| SwiftUI | Color(red: 0.294, green: 0.278, blue: 0.561) |
| UIKit | UIColor(red: 0.294, green: 0.278, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4B478F) |
| Android XML | #4B478F |

## 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.09:1
- Contrast with black: 2.6:1

## Tints

#4b478f, #5a599b, #6b6aa6, #7b7cb2, #8d8ebd, #9fa0c8, #b1b3d3, #c4c6de, #d7d8e9, #ebecf4

## Shades

#4b478f, #403d7c, #353269, #2b2857, #211f45, #171634, #0e0d24, #060615, #020207, #000001

## Tones

#4b478f, #4b4989, #4c4a83, #4c4c7d, #4d4d77, #4e4e71, #4e4f6b, #4f5065, #50515f, #515259

## Harmonies

- Complementary: #4b478f, #5e5400
- Split: #4b478f, #774600, #375f0e
- Analogous: #4b478f, #1a5390, #683c7f
- Triadic: #4b478f, #843814, #00653f
- Tetradic: #4b478f, #7c3463, #5e5400, #00653f
- Square: #4b478f, #863240, #5e5400, #006261
- Monochromatic: #4b478f, #150147, #2d256a, #6c6ab5, #8e8edd

## Questions about #4b478f

### What color is #4b478f?

#4b478f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(75, 71, 143), in HSL hsl(243.33, 33.64%, 41.96%) and in OKLCH oklch(43.92% 0.11527 283.075).

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

The complementary color of #4b478f is #5e5400. For a calmer combination use the analogous colors #1a5390 and #683c7f. The triadic partners are #843814 and #00653f.

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

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

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

#4b478f is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.9% and its chroma 0.115.
