Skip to the color picker

#303f7f color: Official Violet

#303f7f is rgb(48, 63, 127) in RGB and oklch(39.085% 0.10916 270.696) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39.1%
0.109
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
9.80:1Readable · AA
Lc -97
Black text
2.14:1Hard to read
Lc 11

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 #303f7f

#303f7f is a soft dark indigo color. In OKLCH it has 39.1% lightness, 0.109 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.8:1 contrast and black text 2.14: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 indigo colors

Lighter: #303f7f mixed with white

Darker: #303f7f mixed with black

Calmer: #303f7f with less saturation

Similar named colors

Colors that go with #303f7f

Complementary
Analogous
Triadic
Split

Questions about #303f7f

What color is #303f7f?

#303f7f is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(48, 63, 127), in HSL hsl(228.61, 45.14%, 34.31%) and in OKLCH oklch(39.085% 0.10916 270.696).

What colors go well with #303f7f?

The complementary color of #303f7f is #594200. For a calmer combination use the analogous colors #004a79 and #503476. The triadic partners are #75291e and #005523.

Is white or black text more readable on #303f7f?

White text reads better on #303f7f: white gives a contrast ratio of 9.8:1 and black gives 2.14:1. WCAG AA asks for at least 4.5:1 for body text.

Is #303f7f a warm or cool color?

#303f7f is a cool color. In OKLCH its hue is 271 degrees, its lightness 39.1% and its chroma 0.109.