Skip to the color picker

#2f3f84 color: Official Violet

#2f3f84 is rgb(47, 63, 132) in RGB and oklch(39.394% 0.11702 270.397) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39.4%
0.117
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 48%

Inside sRGB: displays the same on any screen.

White text
9.70:1Readable · AA
Lc -96
Black text
2.17:1Hard to read
Lc 12

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

#2f3f84 is a soft dark blue color. In OKLCH it has 39.4% lightness, 0.117 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.7:1 contrast and black text 2.17: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 blue colors

Lighter: #2f3f84 mixed with white

Darker: #2f3f84 mixed with black

Calmer: #2f3f84 with less saturation

Similar named colors

Colors that go with #2f3f84

Complementary
Analogous
Triadic
Split

Questions about #2f3f84

What color is #2f3f84?

#2f3f84 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 63, 132), in HSL hsl(228.71, 47.49%, 35.1%) and in OKLCH oklch(39.394% 0.11702 270.397).

What colors go well with #2f3f84?

The complementary color of #2f3f84 is #5a4200. For a calmer combination use the analogous colors #004b7e and #51337a. The triadic partners are #78261c and #005621.

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

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

Is #2f3f84 a warm or cool color?

#2f3f84 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.4% and its chroma 0.117.