Skip to the color picker

#2f3a84 color: Official Violet

#2f3a84 is rgb(47, 58, 132) in RGB and oklch(38.336% 0.1239 272.779) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

232°
100%

38.3%
0.124
273°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 48%

Inside sRGB: displays the same on any screen.

White text
10.20:1Readable · AA
Lc -97
Black text
2.06:1Hard to read
Lc 11

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 #2f3a84

#2f3a84 is a soft dark indigo color. In OKLCH it has 38.3% lightness, 0.124 chroma and a hue of 273°.

Inside sRGB: displays the same on any screen.

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

The closest named color is Official Violet (#2e4182). In Tailwind CSS the closest color is blue-900.

More dark indigo colors

Lighter: #2f3a84 mixed with white

Darker: #2f3a84 mixed with black

Calmer: #2f3a84 with less saturation

Similar named colors

Colors that go with #2f3a84

Complementary
Analogous
Triadic
Split

Questions about #2f3a84

What color is #2f3a84?

#2f3a84 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(47, 58, 132), in HSL hsl(232.24, 47.49%, 35.1%) and in OKLCH oklch(38.336% 0.1239 272.779).

What colors go well with #2f3a84?

The complementary color of #2f3a84 is #554000. For a calmer combination use the analogous colors #00477e and #512e78. The triadic partners are #772010 and #00551f.

Is white or black text more readable on #2f3a84?

White text reads better on #2f3a84: white gives a contrast ratio of 10.2:1 and black gives 2.06:1. WCAG AA asks for at least 4.5:1 for body text.

Is #2f3a84 a warm or cool color?

#2f3a84 is a cool color. In OKLCH its hue is 273 degrees, its lightness 38.3% and its chroma 0.124.