Skip to the color picker

#334180 color: Official Violet

#334180 is rgb(51, 65, 128) in RGB and oklch(39.793% 0.10694 271.365) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

229°
100%

39.8%
0.107
271°
  • Indigo
  • Dark
  • Soft
  • Cool
  • ≈ Cobalt
  • blue-900
  • Black 50%

Inside sRGB: displays the same on any screen.

White text
9.51: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

Open as palette

Recent

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

About #334180

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

Inside sRGB: displays the same on any screen.

White text on it reaches 9.51: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 indigo colors

Lighter: #334180 mixed with white

  1. 334180
  2. 44538d
  3. 57659a
  4. 6a77a7
  5. 7d8ab3
  6. 929dc0
  7. a7b0cd
  8. bcc3d9
  9. d2d7e6
  10. e8ebf3

Darker: #334180 mixed with black

  1. 334180
  2. 2b376e
  3. 232e5d
  4. 1c254d
  5. 141c3d
  6. 0d132e
  7. 070b1f
  8. 030512
  9. 010106
  10. 000001

Calmer: #334180 with less saturation

  1. 334180
  2. 35427a
  3. 374375
  4. 39446f
  5. 3b456a
  6. 3d4564
  7. 3f465f
  8. 414659
  9. 434753
  10. 45474d

Questions about #334180

What color is #334180?

#334180 is soft dark indigo. The closest named color is Official Violet. In RGB it is rgb(51, 65, 128), in HSL hsl(229.09, 43.02%, 35.1%) and in OKLCH oklch(39.793% 0.10694 271.365).

What colors go well with #334180?

The complementary color of #334180 is #5b4400. For a calmer combination use the analogous colors #004c7b and #523677. The triadic partners are #762c20 and #005727.

Is white or black text more readable on #334180?

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

Is #334180 a warm or cool color?

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