# #4f488d color: Moonlight Sonata

#4f488d is rgb(79, 72, 141) in RGB and oklch(44.33% 0.11031 285.594) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f488d |
| RGB | rgb(79, 72, 141) |
| HSL | hsl(246.09, 32.39%, 41.76%) |
| HSB / HSV | hsv(246.09 48.94% 55.29%) |
| HWB | hwb(246.09 28.24% 44.71%) |
| CMYK | cmyk(44% 49% 0% 45%) |
| Lab | lab(33.98 17.22 -38.02) |
| LCH | lch(33.98 41.74 294.37) |
| OKLab | oklab(44.33% 0.02965 -0.10625) |
| OKLCH | oklch(44.33% 0.11031 285.594) |
| Display P3 | color(display-p3 0.30514 0.28331 0.53566) |
| Rec. 2020 | color(rec2020 0.25729 0.22864 0.48504) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.54014) |
| ProPhoto RGB | color(prophoto-rgb 0.27859 0.23147 0.452) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.26636) |
| XYZ D65 | color(xyz-d65 0.10349 0.0822 0.26242) |
| XYZ D50 | color(xyz-d50 0.09716 0.08 0.19758) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.553) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4F488D) |
| Android XML | #4F488D |

## 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.94:1
- Contrast with black: 2.64:1

## Tints

#4f488d, #5e5999, #6e6ba4, #7f7db0, #908fbc, #a1a1c7, #b3b3d2, #c6c6de, #d8d9e9, #ececf4

## Shades

#4f488d, #443d7a, #383367, #2e2955, #231f44, #191633, #100d23, #070614, #020207, #000001

## Tones

#4f488d, #4f4a87, #4f4b82, #504d7c, #504e77, #504f71, #51506b, #515165, #52525f, #535359

## Harmonies

- Complementary: #4f488d, #5d5600
- Split: #4f488d, #764800, #36601a
- Analogous: #4f488d, #25548f, #6a3e7c
- Triadic: #4f488d, #833c15, #006644
- Tetradic: #4f488d, #7d3761, #5d5600, #006644
- Square: #4f488d, #85353f, #5d5600, #006364
- Monochromatic: #4f488d, #170345, #312768, #706bb3, #938fdb

## Questions about #4f488d

### What color is #4f488d?

#4f488d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 141), in HSL hsl(246.09, 32.39%, 41.76%) and in OKLCH oklch(44.33% 0.11031 285.594).

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

The complementary color of #4f488d is #5d5600. For a calmer combination use the analogous colors #25548f and #6a3e7c. The triadic partners are #833c15 and #006644.

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

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

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

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