# #4f498c color: Moonlight Sonata

#4f498c is rgb(79, 73, 140) in RGB and oklch(44.465% 0.10726 285.233) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #4f498c |
| RGB | rgb(79, 73, 140) |
| HSL | hsl(245.37, 31.46%, 41.76%) |
| HSB / HSV | hsv(245.37 47.86% 54.9%) |
| HWB | hwb(245.37 28.63% 45.1%) |
| CMYK | cmyk(44% 48% 0% 45%) |
| Lab | lab(34.2 16.37 -37.06) |
| LCH | lch(34.2 40.52 293.83) |
| OKLab | oklab(44.465% 0.02818 -0.10349) |
| OKLCH | oklch(44.465% 0.10726 285.233) |
| Display P3 | color(display-p3 0.30578 0.28709 0.53208) |
| Rec. 2020 | color(rec2020 0.25812 0.23216 0.48126) |
| Adobe RGB | color(a98-rgb 0.30775 0.29181 0.53645) |
| ProPhoto RGB | color(prophoto-rgb 0.27863 0.23411 0.44849) |
| Linear sRGB | color(srgb-linear 0.07819 0.06663 0.26225) |
| XYZ D65 | color(xyz-d65 0.1034 0.08321 0.25873) |
| XYZ D50 | color(xyz-d50 0.09728 0.08106 0.19483) |
| SwiftUI | Color(red: 0.31, green: 0.286, blue: 0.549) |
| UIKit | UIColor(red: 0.31, green: 0.286, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF4F498C) |
| Android XML | #4F498C |

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

## Tints

#4f498c, #5e5a98, #6e6ca4, #7f7daf, #908fbb, #a1a1c6, #b3b3d2, #c6c6dd, #d8d9e8, #ececf4

## Shades

#4f498c, #443e79, #383467, #2e2a55, #232043, #191733, #100e23, #070614, #020207, #000001

## Tones

#4f498c, #4f4b87, #4f4c81, #504d7c, #504f76, #515071, #51516b, #525265, #525260, #53535a

## Harmonies

- Complementary: #4f498c, #5d5600
- Split: #4f498c, #754900, #38601d
- Analogous: #4f498c, #26548e, #6a3f7c
- Triadic: #4f498c, #833d19, #006645
- Tetradic: #4f498c, #7c3861, #5d5600, #006645
- Square: #4f498c, #853740, #5d5600, #006364
- Monochromatic: #4f498c, #170544, #312867, #706cb2, #9390d9

## Questions about #4f498c

### What color is #4f498c?

#4f498c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(79, 73, 140), in HSL hsl(245.37, 31.46%, 41.76%) and in OKLCH oklch(44.465% 0.10726 285.233).

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

The complementary color of #4f498c is #5d5600. For a calmer combination use the analogous colors #26548e and #6a3f7c. The triadic partners are #833d19 and #006645.

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

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

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

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