Skip to the color picker

#30427f color: Official Violet

#30427f is rgb(48, 66, 127) in RGB and oklch(39.749% 0.10502 268.883) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

226°
100%

39.7%
0.105
269°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

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 #30427f

#30427f is a soft dark blue color. In OKLCH it has 39.7% lightness, 0.105 chroma and a hue of 269°.

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: #30427f mixed with white

Darker: #30427f mixed with black

Calmer: #30427f with less saturation

Similar named colors

Colors that go with #30427f

Complementary
Analogous
Triadic
Split

Questions about #30427f

What color is #30427f?

#30427f is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(48, 66, 127), in HSL hsl(226.33, 45.14%, 34.31%) and in OKLCH oklch(39.749% 0.10502 268.883).

What colors go well with #30427f?

The complementary color of #30427f is #5d4300. For a calmer combination use the analogous colors #004d79 and #4f3877. The triadic partners are #752c24 and #0d5624.

Is white or black text more readable on #30427f?

White text reads better on #30427f: 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 #30427f a warm or cool color?

#30427f is a cool color. In OKLCH its hue is 269 degrees, its lightness 39.7% and its chroma 0.105.