# #4f478f color: Moonlight Sonata

#4f478f is rgb(79, 71, 143) in RGB and oklch(44.264% 0.11481 285.77) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f478f |
| RGB | rgb(79, 71, 143) |
| HSL | hsl(246.67, 33.64%, 41.96%) |
| HSB / HSV | hsv(246.67 50.35% 56.08%) |
| HWB | hwb(246.67 27.84% 43.92%) |
| CMYK | cmyk(45% 50% 0% 44%) |
| Lab | lab(33.82 18.33 -39.5) |
| LCH | lch(33.82 43.54 294.89) |
| OKLab | oklab(44.264% 0.0312 -0.11049) |
| OKLCH | oklch(44.264% 0.11481 285.77) |
| Display P3 | color(display-p3 0.30451 0.27954 0.54298) |
| Rec. 2020 | color(rec2020 0.25684 0.22525 0.49279) |
| Adobe RGB | color(a98-rgb 0.30582 0.2845 0.5476) |
| ProPhoto RGB | color(prophoto-rgb 0.27949 0.22908 0.45928) |
| Linear sRGB | color(srgb-linear 0.07819 0.06301 0.27468) |
| XYZ D65 | color(xyz-d65 0.10435 0.08152 0.27011) |
| XYZ D50 | color(xyz-d50 0.09766 0.07922 0.20335) |
| SwiftUI | Color(red: 0.31, green: 0.278, blue: 0.561) |
| UIKit | UIColor(red: 0.31, green: 0.278, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4F478F) |
| Android XML | #4F478F |

## 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: 7.98:1
- Contrast with black: 2.63:1

## Tints

#4f478f, #5e599b, #6e6aa6, #7f7cb2, #908ebd, #a1a0c8, #b3b3d3, #c6c5de, #d8d8e9, #ececf4

## Shades

#4f478f, #443d7c, #383269, #2e2857, #231f45, #191634, #100d24, #070615, #020207, #000001

## Tones

#4f478f, #4f4989, #4f4b83, #4f4c7e, #504d78, #504f72, #51506c, #515166, #525260, #52525a

## Harmonies

- Complementary: #4f478f, #5d5600
- Split: #4f478f, #764800, #346116
- Analogous: #4f478f, #225391, #6b3c7e
- Triadic: #4f478f, #853a0f, #006644
- Tetradic: #4f478f, #7e3561, #5d5600, #006644
- Square: #4f478f, #87333d, #5d5600, #006364
- Monochromatic: #4f478f, #170147, #31256a, #706ab5, #938edd

## Questions about #4f478f

### What color is #4f478f?

#4f478f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 71, 143), in HSL hsl(246.67, 33.64%, 41.96%) and in OKLCH oklch(44.264% 0.11481 285.77).

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

The complementary color of #4f478f is #5d5600. For a calmer combination use the analogous colors #225391 and #6b3c7e. The triadic partners are #853a0f and #006644.

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

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

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

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