Skip to the color picker

#4a4887 color: Moonlight Sonata

#4a4887 is rgb(74, 72, 135) in RGB and oklch(43.509% 0.10186 282.741) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

242°
100%

43.5%
0.102
283°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • slate-600
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
8.18:1Readable · AA
Lc -93
Black text
2.57:1Hard to read
Lc 16

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 #4a4887

#4a4887 is a soft dark indigo color. In OKLCH it has 43.5% lightness, 0.102 chroma and a hue of 283°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.18:1 contrast and black text 2.57: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: #4a4887 mixed with white

Darker: #4a4887 mixed with black

Calmer: #4a4887 with less saturation

Similar named colors

Colors that go with #4a4887

Complementary
Analogous
Triadic
Split

Questions about #4a4887

What color is #4a4887?

#4a4887 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(74, 72, 135), in HSL hsl(241.9, 30.43%, 40.59%) and in OKLCH oklch(43.509% 0.10186 282.741).

What colors go well with #4a4887?

The complementary color of #4a4887 is #5c5200. For a calmer combination use the analogous colors #225387 and #643e79. The triadic partners are #7e3b1e and #006240.

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

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

Is #4a4887 a warm or cool color?

#4a4887 is a cool color. In OKLCH its hue is 283 degrees, its lightness 43.5% and its chroma 0.102.