Skip to the color picker

#304084 color: Official Violet

#304084 is rgb(48, 64, 132) in RGB and oklch(39.673% 0.11533 270.417) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39.7%
0.115
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 48%

Inside sRGB: displays the same on any screen.

White text
9.58:1Readable · AA
Lc -96
Black text
2.19: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 #304084

#304084 is a soft dark blue color. In OKLCH it has 39.7% lightness, 0.115 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.58:1 contrast and black text 2.19: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: #304084 mixed with white

Darker: #304084 mixed with black

Calmer: #304084 with less saturation

Similar named colors

Colors that go with #304084

Complementary
Analogous
Triadic
Split

Questions about #304084

What color is #304084?

#304084 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 132), in HSL hsl(228.57, 46.67%, 35.29%) and in OKLCH oklch(39.673% 0.11533 270.417).

What colors go well with #304084?

The complementary color of #304084 is #5b4300. For a calmer combination use the analogous colors #004c7e and #52357a. The triadic partners are #79281d and #005722.

Is white or black text more readable on #304084?

White text reads better on #304084: white gives a contrast ratio of 9.58:1 and black gives 2.19:1. WCAG AA asks for at least 4.5:1 for body text.

Is #304084 a warm or cool color?

#304084 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.7% and its chroma 0.115.