# #4f488c color: Moonlight Sonata

#4f488c is rgb(79, 72, 140) in RGB and oklch(44.264% 0.10882 285.744) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f488c |
| RGB | rgb(79, 72, 140) |
| HSL | hsl(246.18, 32.08%, 41.57%) |
| HSB / HSV | hsv(246.18 48.57% 54.9%) |
| HWB | hwb(246.18 28.24% 45.1%) |
| CMYK | cmyk(44% 49% 0% 45%) |
| Lab | lab(33.93 16.98 -37.49) |
| LCH | lch(33.93 41.16 294.36) |
| OKLab | oklab(44.264% 0.02953 -0.10474) |
| OKLCH | oklch(44.264% 0.10882 285.744) |
| Display P3 | color(display-p3 0.30514 0.28331 0.53195) |
| Rec. 2020 | color(rec2020 0.25694 0.22854 0.48109) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.53638) |
| ProPhoto RGB | color(prophoto-rgb 0.2777 0.23127 0.44826) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.26225) |
| XYZ D65 | color(xyz-d65 0.10275 0.0819 0.25851) |
| XYZ D50 | color(xyz-d50 0.09658 0.07975 0.19465) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.549) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4F488C) |
| Android XML | #4F488C |

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

## Tints

#4f488c, #5e5998, #6e6ba4, #7f7daf, #908fbb, #a1a1c6, #b3b3d2, #c6c6dd, #d8d9e8, #ececf4

## Shades

#4f488c, #443d79, #383367, #2e2955, #231f43, #191633, #100d23, #070614, #020207, #000001

## Tones

#4f488c, #4f4a87, #4f4b81, #504d7b, #504e76, #504f70, #51506b, #515165, #52525f, #525259

## Harmonies

- Complementary: #4f488c, #5c5600
- Split: #4f488c, #754800, #36601c
- Analogous: #4f488c, #26538e, #6a3e7b
- Triadic: #4f488c, #823c16, #006545
- Tetradic: #4f488c, #7c3760, #5c5600, #006545
- Square: #4f488c, #85363f, #5c5600, #006364
- Monochromatic: #4f488c, #170444, #312767, #706bb2, #938fd9

## Questions about #4f488c

### What color is #4f488c?

#4f488c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 140), in HSL hsl(246.18, 32.08%, 41.57%) and in OKLCH oklch(44.264% 0.10882 285.744).

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

The complementary color of #4f488c is #5c5600. For a calmer combination use the analogous colors #26538e and #6a3e7b. The triadic partners are #823c16 and #006545.

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

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

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

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