Skip to the color picker

#334281 color: Official Violet

#334281 is rgb(51, 66, 129) in RGB and oklch(40.084% 0.10707 270.824) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

228°
100%

40.1%
0.107
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 49%

Inside sRGB: displays the same on any screen.

White text
9.39:1Readable · AA
Lc -96
Black text
2.24:1Hard to read
Lc 12

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #334281

#334281 is a soft dark indigo color. In OKLCH it has 40.1% lightness, 0.107 chroma and a hue of 271°.

Inside sRGB: displays the same on any screen.

White text on it reaches 9.39:1 contrast and black text 2.24: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: #334281 mixed with white

  1. 334281
  2. 44548e
  3. 57669b
  4. 6a78a7
  5. 7d8bb4
  6. 929dc1
  7. a7b0cd
  8. bcc4da
  9. d2d7e6
  10. e8ebf3

Darker: #334281 mixed with black

  1. 334281
  2. 2b386f
  3. 232f5e
  4. 1c254e
  5. 141c3e
  6. 0d142e
  7. 070b1f
  8. 030512
  9. 010106
  10. 000001

Calmer: #334281 with less saturation

  1. 334281
  2. 35437b
  3. 374476
  4. 394570
  5. 3b466b
  6. 3d4665
  7. 3f475f
  8. 41475a
  9. 434854
  10. 46484e

Questions about #334281

What color is #334281?

#334281 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(51, 66, 129), in HSL hsl(228.46, 43.33%, 35.29%) and in OKLCH oklch(40.084% 0.10707 270.824).

What colors go well with #334281?

The complementary color of #334281 is #5c4400. For a calmer combination use the analogous colors #004d7b and #523778. The triadic partners are #772d21 and #025727.

Is white or black text more readable on #334281?

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

Is #334281 a warm or cool color?

#334281 is a cool color. In OKLCH its hue is 271 degrees, its lightness 40.1% and its chroma 0.107.