Skip to the color picker

#2a4284 color: Official Violet

#2a4284 is rgb(42, 66, 132) in RGB and oklch(39.76% 0.11462 266.26) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

224°
100%

39.8%
0.115
266°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 48%

Inside sRGB: displays the same on any screen.

White text
9.50:1Readable · AA
Lc -96
Black text
2.21: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 #2a4284

#2a4284 is a soft dark blue color. In OKLCH it has 39.8% lightness, 0.115 chroma and a hue of 266°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.5:1 contrast and black text 2.21: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: #2a4284 mixed with white

Darker: #2a4284 mixed with black

Calmer: #2a4284 with less saturation

Similar named colors

Colors that go with #2a4284

Complementary
Analogous
Triadic
Split

Questions about #2a4284

What color is #2a4284?

#2a4284 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 132), in HSL hsl(224, 51.72%, 34.12%) and in OKLCH oklch(39.76% 0.11462 266.26).

What colors go well with #2a4284?

The complementary color of #2a4284 is #5f4200. For a calmer combination use the analogous colors #004e7a and #4e367d. The triadic partners are #792724 and #0a561c.

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

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

Is #2a4284 a warm or cool color?

#2a4284 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.8% and its chroma 0.115.