Skip to the color picker

#504798 color: Liberty

#504798 is rgb(80, 71, 152) in RGB and oklch(44.969% 0.12781 285.082) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

247°
100%

45%
0.128
285°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 40%

Inside sRGB: displays the same on any screen.

White text
7.79: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 #504798

#504798 is a soft dark indigo color. In OKLCH it has 45% lightness, 0.128 chroma and a hue of 285°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Liberty (#514b98). In Tailwind CSS the closest color is blue-900.

More dark indigo colors

Lighter: #504798 mixed with white

Darker: #504798 mixed with black

Calmer: #504798 with less saturation

Similar named colors

Colors that go with #504798

Complementary
Analogous
Triadic
Split

Questions about #504798

What color is #504798?

#504798 is soft dark indigo. The closest named color is Liberty. In RGB it is rgb(80, 71, 152), in HSL hsl(246.67, 36.32%, 43.73%) and in OKLCH oklch(44.969% 0.12781 285.082).

What colors go well with #504798?

The complementary color of #504798 is #5f5700. For a calmer combination use the analogous colors #19559a and #6f3b85. The triadic partners are #8c3701 and #006944.

Is white or black text more readable on #504798?

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

Is #504798 a warm or cool color?

#504798 is a cool color. In OKLCH its hue is 285 degrees, its lightness 45% and its chroma 0.128.