#3322CC color

#3322CC is rgb(51, 34, 204) in RGB and hsl(246, 71%, 47%) in HSL. The closest CSS named color is mediumblue (#0000cd, ΔE 4.3). Use white text on it (contrast 9.37:1).

#3322CCindigo
HEX#3322CC
Short HEX#32C
RGBrgb(51, 34, 204)
RGB percentrgb(20%, 13.3%, 80%)
HSLhsl(246, 71%, 47%)
HSV / HSBhsv(246, 83%, 80%)
CMYKcmyk(75%, 83%, 0%, 20%)

Edit in the color converter → · Check contrast → · Shades →

About #3322CC

#3322CC is a medium, saturated indigo with a hue angle of 246°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 204 (80%) and green the weakest at 34 (13%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#3322CC
Short HEX#32C
RGBrgb(51, 34, 204)
RGB percentrgb(20%, 13.3%, 80%)
HSLhsl(246, 71%, 47%)
HSV / HSBhsv(246, 83%, 80%)
CMYKcmyk(75%, 83%, 0%, 20%)
CIELAB (D65)lab(29.9 58.5 -82.6)
Decimal3351244
Binary00110011 00100010 11001100

HEX 33 22 CC → 51, 34, 204 (each pair is a base-16 number: 3×16 + 3 = 51)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #3322CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #3322CCRatioAA normalAA largeAAA normalAAA large
White text9.37:1PassPassPassPass
Black text2.24:1FailFailFailFail
White text on #3322CC
Black text on #3322CC
#3322CC text on white
#3322CC text on black

Relative luminance is 0.0621 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#004ed1

Deuteranopia
#003ec9

Tritanopia
#005a7a

Achromatopsia
#464646

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 7.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumblue#0000cd4.3
blue#0000ff5.4
rebeccapurple#66339910.6
darkblue#00008b11.3

Nearby colors

CSS

.element {
  color: #3322cc;
  background-color: rgb(51, 34, 204);
  border: 1px solid hsl(246, 71%, 47%);
  box-shadow: 0 2px 8px rgb(51 34 204 / 50%);
}
:root { --brand: #3322cc; }

Frequently asked questions

What color is #3322CC?
A medium saturated indigo in the blue family. Closest CSS name: mediumblue.
What is #3322CC in RGB?
rgb(51, 34, 204): red 51, green 34, blue 204.
What is the complementary color of #3322CC?
#BBCC22, found by rotating the hue 180°.