# #52488b color: Moonlight Sonata

#52488b is rgb(82, 72, 139) in RGB and oklch(44.468% 0.10713 288.092) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #52488b |
| RGB | rgb(82, 72, 139) |
| HSL | hsl(248.96, 31.75%, 41.37%) |
| HSB / HSV | hsv(248.96 48.2% 54.51%) |
| HWB | hwb(248.96 28.24% 45.49%) |
| CMYK | cmyk(41% 48% 0% 45%) |
| Lab | lab(34.17 17.65 -36.49) |
| LCH | lch(34.17 40.53 295.81) |
| OKLab | oklab(44.468% 0.03327 -0.10184) |
| OKLCH | oklch(44.468% 0.10713 288.092) |
| Display P3 | color(display-p3 0.31503 0.28376 0.52834) |
| Rec. 2020 | color(rec2020 0.26412 0.22937 0.47725) |
| Adobe RGB | color(a98-rgb 0.31495 0.28815 0.53262) |
| ProPhoto RGB | color(prophoto-rgb 0.28186 0.23215 0.44464) |
| Linear sRGB | color(srgb-linear 0.08438 0.0648 0.25818) |
| XYZ D65 | color(xyz-d65 0.10457 0.08293 0.25477) |
| XYZ D50 | color(xyz-d50 0.09869 0.08088 0.19183) |
| SwiftUI | Color(red: 0.322, green: 0.282, blue: 0.545) |
| UIKit | UIColor(red: 0.322, green: 0.282, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF52488B) |
| Android XML | #52488B |

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

## Tints

#52488b, #615997, #716ba3, #817dae, #928eba, #a3a1c6, #b5b3d1, #c7c6dd, #d9d8e8, #ececf4

## Shades

#52488b, #463d78, #3b3366, #2f2954, #251f43, #1a1632, #110d23, #080614, #020207, #000001

## Tones

#52488b, #524a86, #524b80, #524d7b, #524e76, #524f70, #52506b, #535165, #53525f, #53535a

## Harmonies

- Complementary: #52488b, #5a5700
- Split: #52488b, #744a00, #336121
- Analogous: #52488b, #2b538e, #6c3e7a
- Triadic: #52488b, #823e14, #006648
- Tetradic: #52488b, #7d385e, #5a5700, #006648
- Square: #52488b, #85373d, #5a5700, #006367
- Monochromatic: #52488b, #190443, #332766, #736bb1, #978fd8

## Questions about #52488b

### What color is #52488b?

#52488b is soft dark violet. The closest named color is Moonlight Sonata. In RGB it is rgb(82, 72, 139), in HSL hsl(248.96, 31.75%, 41.37%) and in OKLCH oklch(44.468% 0.10713 288.092).

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

The complementary color of #52488b is #5a5700. For a calmer combination use the analogous colors #2b538e and #6c3e7a. The triadic partners are #823e14 and #006648.

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

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

### Is #52488b a warm or cool color?

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