Skip to the color picker

#504a8c color: Moonlight Sonata

#504a8c is rgb(80, 74, 140) in RGB and oklch(44.754% 0.1056 285.435) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

245°
100%

44.8%
0.106
285°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
7.78:1Readable · AA
Lc -92
Black text
2.70:1Hard to read
Lc 17

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

About #504a8c

#504a8c is a soft dark indigo color. In OKLCH it has 44.8% lightness, 0.106 chroma and a hue of 285°.

Inside sRGB: displays the same on any screen.

White text on it reaches 7.78:1 contrast and black text 2.7:1, so white text reads better.

The closest named color is Moonlight Sonata (#4e468b). In Tailwind CSS the closest color is slate-600.

More dark indigo colors

Lighter: #504a8c mixed with white

Darker: #504a8c mixed with black

Calmer: #504a8c with less saturation

Similar named colors

Colors that go with #504a8c

Complementary
Analogous
Triadic
Split

Questions about #504a8c

What color is #504a8c?

#504a8c is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(80, 74, 140), in HSL hsl(245.45, 30.84%, 41.96%) and in OKLCH oklch(44.754% 0.1056 285.435).

What colors go well with #504a8c?

The complementary color of #504a8c is #5d5700. For a calmer combination use the analogous colors #28558e and #6b407c. The triadic partners are #833e1b and #006646.

Is white or black text more readable on #504a8c?

White text reads better on #504a8c: white gives a contrast ratio of 7.78:1 and black gives 2.7:1. WCAG AA asks for at least 4.5:1 for body text.

Is #504a8c a warm or cool color?

#504a8c is a cool color. In OKLCH its hue is 285 degrees, its lightness 44.8% and its chroma 0.106.