Skip to the color picker

#2c4287 color: Official Violet

#2c4287 is rgb(44, 66, 135) in RGB and oklch(40.096% 0.1184 267.535) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

225°
100%

40.1%
0.118
268°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 47%

Inside sRGB: displays the same on any screen.

White text
9.39:1Readable · AA
Lc -96
Black text
2.24:1Hard to read
Lc 13

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

#2c4287 is a soft dark blue color. In OKLCH it has 40.1% lightness, 0.118 chroma and a hue of 268°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.39:1 contrast and black text 2.24: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: #2c4287 mixed with white

Darker: #2c4287 mixed with black

Calmer: #2c4287 with less saturation

Similar named colors

Colors that go with #2c4287

Complementary
Analogous
Triadic
Split

Questions about #2c4287

What color is #2c4287?

#2c4287 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(44, 66, 135), in HSL hsl(225.49, 50.84%, 35.1%) and in OKLCH oklch(40.096% 0.1184 267.535).

What colors go well with #2c4287?

The complementary color of #2c4287 is #5f4300. For a calmer combination use the analogous colors #004e7d and #50367f. The triadic partners are #7b2721 and #00581d.

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

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

Is #2c4287 a warm or cool color?

#2c4287 is a cool color. In OKLCH its hue is 268 degrees, its lightness 40.1% and its chroma 0.118.