# #4f488f color: Moonlight Sonata

#4f488f is rgb(79, 72, 143) in RGB and oklch(44.462% 0.11327 285.3) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f488f |
| RGB | rgb(79, 72, 143) |
| HSL | hsl(245.92, 33.02%, 42.16%) |
| HSB / HSV | hsv(245.92 49.65% 56.08%) |
| HWB | hwb(245.92 28.24% 43.92%) |
| CMYK | cmyk(45% 50% 0% 44%) |
| Lab | lab(34.09 17.72 -39.07) |
| LCH | lch(34.09 42.9 294.39) |
| OKLab | oklab(44.462% 0.02989 -0.10926) |
| OKLCH | oklch(44.462% 0.11327 285.3) |
| Display P3 | color(display-p3 0.30514 0.28331 0.5431) |
| Rec. 2020 | color(rec2020 0.258 0.22885 0.49296) |
| Adobe RGB | color(a98-rgb 0.30678 0.28815 0.54767) |
| ProPhoto RGB | color(prophoto-rgb 0.2804 0.23189 0.4595) |
| Linear sRGB | color(srgb-linear 0.07819 0.0648 0.27468) |
| XYZ D65 | color(xyz-d65 0.10499 0.0828 0.27033) |
| XYZ D50 | color(xyz-d50 0.09835 0.0805 0.20353) |
| SwiftUI | Color(red: 0.31, green: 0.282, blue: 0.561) |
| UIKit | UIColor(red: 0.31, green: 0.282, blue: 0.561, alpha: 1) |
| Flutter / Compose | Color(0xFF4F488F) |
| Android XML | #4F488F |

## 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.91:1
- Contrast with black: 2.66:1

## Tints

#4f488f, #5e5a9b, #6e6ba6, #7f7db2, #908fbd, #a1a1c8, #b3b3d3, #c6c6de, #d8d9e9, #ececf4

## Shades

#4f488f, #443d7c, #383369, #2e2957, #231f45, #191634, #100d24, #070615, #020207, #000001

## Tones

#4f488f, #4f4a89, #4f4b84, #504d7e, #504e78, #504f72, #51506c, #525166, #525260, #53535a

## Harmonies

- Complementary: #4f488f, #5e5600
- Split: #4f488f, #774800, #366118
- Analogous: #4f488f, #225491, #6b3d7e
- Triadic: #4f488f, #853b13, #006644
- Tetradic: #4f488f, #7e3662, #5e5600, #006644
- Square: #4f488f, #87343f, #5e5600, #006364
- Monochromatic: #4f488f, #170247, #31266a, #706bb5, #938fdd

## Questions about #4f488f

### What color is #4f488f?

#4f488f is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 72, 143), in HSL hsl(245.92, 33.02%, 42.16%) and in OKLCH oklch(44.462% 0.11327 285.3).

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

The complementary color of #4f488f is #5e5600. For a calmer combination use the analogous colors #225491 and #6b3d7e. The triadic partners are #853b13 and #006644.

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

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

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

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