# #4f498d color: Moonlight Sonata

#4f498d is rgb(79, 73, 141) in RGB and oklch(44.53% 0.10875 285.092) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f498d |
| RGB | rgb(79, 73, 141) |
| HSL | hsl(245.29, 31.78%, 41.96%) |
| HSB / HSV | hsv(245.29 48.23% 55.29%) |
| HWB | hwb(245.29 28.63% 44.71%) |
| CMYK | cmyk(44% 48% 0% 45%) |
| Lab | lab(34.25 16.62 -37.59) |
| LCH | lch(34.25 41.1 293.85) |
| OKLab | oklab(44.53% 0.02832 -0.105) |
| OKLCH | oklch(44.53% 0.10875 285.092) |
| Display P3 | color(display-p3 0.30578 0.28709 0.5358) |
| Rec. 2020 | color(rec2020 0.25846 0.23226 0.48521) |
| Adobe RGB | color(a98-rgb 0.30775 0.29181 0.54021) |
| ProPhoto RGB | color(prophoto-rgb 0.27952 0.23431 0.45222) |
| Linear sRGB | color(srgb-linear 0.07819 0.06663 0.26636) |
| XYZ D65 | color(xyz-d65 0.10414 0.0835 0.26263) |
| XYZ D50 | color(xyz-d50 0.09787 0.08131 0.19776) |
| SwiftUI | Color(red: 0.31, green: 0.286, blue: 0.553) |
| UIKit | UIColor(red: 0.31, green: 0.286, blue: 0.553, alpha: 1) |
| Flutter / Compose | Color(0xFF4F498D) |
| Android XML | #4F498D |

## 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.86:1
- Contrast with black: 2.67:1

## Tints

#4f498d, #5e5a99, #6e6ca4, #7f7db0, #908fbb, #a1a1c7, #b3b3d2, #c6c6dd, #d8d9e9, #ececf4

## Shades

#4f498d, #443e7a, #383467, #2e2a55, #232044, #191733, #100e23, #070614, #020207, #000001

## Tones

#4f498d, #4f4b87, #4f4c82, #504d7c, #504f77, #515071, #51516b, #525266, #525360, #53535a

## Harmonies

- Complementary: #4f498d, #5d5600
- Split: #4f498d, #764900, #37611c
- Analogous: #4f498d, #25548f, #6a3f7d
- Triadic: #4f498d, #833d18, #006645
- Tetradic: #4f498d, #7d3861, #5d5600, #006645
- Square: #4f498d, #853640, #5d5600, #006364
- Monochromatic: #4f498d, #170445, #312868, #706cb3, #9390da

## Questions about #4f498d

### What color is #4f498d?

#4f498d is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 73, 141), in HSL hsl(245.29, 31.78%, 41.96%) and in OKLCH oklch(44.53% 0.10875 285.092).

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

The complementary color of #4f498d is #5d5600. For a calmer combination use the analogous colors #25548f and #6a3f7d. The triadic partners are #833d18 and #006645.

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

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

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

#4f498d is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.5% and its chroma 0.109.
