Skip to the color picker

#4c4794 color: Moonlight Sonata

#4c4794 is rgb(76, 71, 148) in RGB and oklch(44.348% 0.12249 283.128) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

244°
100%

44.3%
0.122
283°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 42%

Inside sRGB: displays the same on any screen.

White text
7.97:1Readable · AA
Lc -92
Black text
2.64: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 #4c4794

#4c4794 is a soft dark indigo color. In OKLCH it has 44.3% lightness, 0.122 chroma and a hue of 283°.

Inside sRGB: displays the same on any screen.

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

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

More dark indigo colors

Lighter: #4c4794 mixed with white

Darker: #4c4794 mixed with black

Calmer: #4c4794 with less saturation

Similar named colors

Colors that go with #4c4794

Complementary
Analogous
Triadic
Split

Questions about #4c4794

What color is #4c4794?

#4c4794 is soft dark indigo. The closest named color is Moonlight Sonata. In RGB it is rgb(76, 71, 148), in HSL hsl(243.9, 35.16%, 42.94%) and in OKLCH oklch(44.348% 0.12249 283.128).

What colors go well with #4c4794?

The complementary color of #4c4794 is #5f5500. For a calmer combination use the analogous colors #155495 and #6b3b83. The triadic partners are #88370d and #006740.

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

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

Is #4c4794 a warm or cool color?

#4c4794 is a cool color. In OKLCH its hue is 283 degrees, its lightness 44.3% and its chroma 0.122.