# #52488c color: Moonlight Sonata

#52488c is rgb(82, 72, 140) in RGB and oklch(44.533% 0.10862 287.908) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/52488c

## Formats

| Format | Value |
| --- | --- |
| HEX | #52488c |
| RGB | rgb(82, 72, 140) |
| HSL | hsl(248.82, 32.08%, 41.57%) |
| HSB / HSV | hsv(248.82 48.57% 54.9%) |
| HWB | hwb(248.82 28.24% 45.1%) |
| CMYK | cmyk(41% 49% 0% 45%) |
| Lab | lab(34.22 17.89 -37.02) |
| LCH | lch(34.22 41.11 295.79) |
| OKLab | oklab(44.533% 0.0334 -0.10335) |
| OKLCH | oklch(44.533% 0.10862 287.908) |
| Display P3 | color(display-p3 0.31503 0.28376 0.53205) |
| Rec. 2020 | color(rec2020 0.26446 0.22947 0.4812) |
| Adobe RGB | color(a98-rgb 0.31495 0.28815 0.53638) |
| ProPhoto RGB | color(prophoto-rgb 0.28274 0.23236 0.44837) |
| Linear sRGB | color(srgb-linear 0.08438 0.0648 0.26225) |
| XYZ D65 | color(xyz-d65 0.1053 0.08322 0.25863) |
| XYZ D50 | color(xyz-d50 0.09928 0.08113 0.19474) |
| SwiftUI | Color(red: 0.322, green: 0.282, blue: 0.549) |
| UIKit | UIColor(red: 0.322, green: 0.282, blue: 0.549, alpha: 1) |
| Flutter / Compose | Color(0xFF52488C) |
| Android XML | #52488C |

## Facts

- Closest name: Moonlight Sonata
- Hue family: Violet, soft dark violet
- 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

#52488c, #615998, #716ba4, #817daf, #928ebb, #a3a1c6, #b5b3d2, #c7c6dd, #d9d8e8, #ececf4

## Shades

#52488c, #463d79, #3b3367, #2f2955, #251f43, #1a1633, #110d23, #080614, #020207, #000001

## Tones

#52488c, #524a87, #524b81, #524d7c, #524e76, #524f71, #52506b, #535165, #535260, #53535a

## Harmonies

- Complementary: #52488c, #5b5700
- Split: #52488c, #744a00, #336120
- Analogous: #52488c, #2a538f, #6c3e7b
- Triadic: #52488c, #833e13, #006648
- Tetradic: #52488c, #7e375f, #5b5700, #006648
- Square: #52488c, #86373d, #5b5700, #006367
- Monochromatic: #52488c, #190444, #332767, #736bb2, #968fd9

## Questions about #52488c

### What color is #52488c?

#52488c is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 72, 140), in HSL hsl(248.82, 32.08%, 41.57%) and in OKLCH oklch(44.533% 0.10862 287.908).

### What colors go well with #52488c?

The complementary color of #52488c is #5b5700. For a calmer combination use the analogous colors #2a538f and #6c3e7b. The triadic partners are #833e13 and #006648.

### Is white or black text more readable on #52488c?

White text reads better on #52488c: 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 #52488c a warm or cool color?

#52488c is a cool color. In OKLCH its hue is 288 degrees, its lightness 44.5% and its chroma 0.109.
