Skip to the color picker

#304082 color: Official Violet

#304082 is rgb(48, 64, 130) in RGB and oklch(39.524% 0.11232 270.306) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

39.5%
0.112
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 49%

Inside sRGB: displays the same on any screen.

White text
9.63:1Readable · AA
Lc -96
Black text
2.18: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 #304082

#304082 is a soft dark blue color. In OKLCH it has 39.5% lightness, 0.112 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.63:1 contrast and black text 2.18: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: #304082 mixed with white

Darker: #304082 mixed with black

Calmer: #304082 with less saturation

Similar named colors

Colors that go with #304082

Complementary
Analogous
Triadic
Split

Questions about #304082

What color is #304082?

#304082 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 130), in HSL hsl(228.29, 46.07%, 34.9%) and in OKLCH oklch(39.524% 0.11232 270.306).

What colors go well with #304082?

The complementary color of #304082 is #5b4300. For a calmer combination use the analogous colors #004b7c and #513579. The triadic partners are #77291e and #005623.

Is white or black text more readable on #304082?

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

Is #304082 a warm or cool color?

#304082 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.5% and its chroma 0.112.