Skip to the color picker

#2f4188 color: Official Violet

#2f4188 is rgb(47, 65, 136) in RGB and oklch(40.129% 0.12026 269.595) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

40.1%
0.120
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
9.41:1Readable · AA
Lc -96
Black text
2.23: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 #2f4188

#2f4188 is a soft dark blue color. In OKLCH it has 40.1% lightness, 0.12 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.41:1 contrast and black text 2.23: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: #2f4188 mixed with white

Darker: #2f4188 mixed with black

Calmer: #2f4188 with less saturation

Similar named colors

Colors that go with #2f4188

Complementary
Analogous
Triadic
Split

Questions about #2f4188

What color is #2f4188?

#2f4188 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(47, 65, 136), in HSL hsl(227.87, 48.63%, 35.88%) and in OKLCH oklch(40.129% 0.12026 269.595).

What colors go well with #2f4188?

The complementary color of #2f4188 is #5d4400. For a calmer combination use the analogous colors #004d80 and #53357e. The triadic partners are #7c271d and #005920.

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

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

Is #2f4188 a warm or cool color?

#2f4188 is a cool color. In OKLCH its hue is 270 degrees, its lightness 40.1% and its chroma 0.12.