Skip to the color picker

#304080 color: Official Violet

#304080 is rgb(48, 64, 128) in RGB and oklch(39.377% 0.10929 270.18) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

39.4%
0.109
270°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
9.67:1Readable · AA
Lc -96
Black text
2.17: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 #304080

#304080 is a soft dark blue color. In OKLCH it has 39.4% lightness, 0.109 chroma and a hue of 270°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.67:1 contrast and black text 2.17: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: #304080 mixed with white

Darker: #304080 mixed with black

Calmer: #304080 with less saturation

Similar named colors

Colors that go with #304080

Complementary
Analogous
Triadic
Split

Questions about #304080

What color is #304080?

#304080 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 64, 128), in HSL hsl(228, 45.45%, 34.51%) and in OKLCH oklch(39.377% 0.10929 270.18).

What colors go well with #304080?

The complementary color of #304080 is #5a4200. For a calmer combination use the analogous colors #004b7a and #503577. The triadic partners are #76291f and #005523.

Is white or black text more readable on #304080?

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

Is #304080 a warm or cool color?

#304080 is a cool color. In OKLCH its hue is 270 degrees, its lightness 39.4% and its chroma 0.109.