#2200CC color

#2200CC is rgb(34, 0, 204) in RGB and hsl(250, 100%, 40%) in HSL. The closest CSS named color is mediumblue (#0000cd, ΔE 1). Use white text on it (contrast 10.83:1).

#2200CCviolet
HEX#2200CC
Short HEX#20C
RGBrgb(34, 0, 204)
RGB percentrgb(13.3%, 0%, 80%)
HSLhsl(250, 100%, 40%)
HSV / HSBhsv(250, 100%, 80%)
CMYKcmyk(83%, 100%, 0%, 20%)

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

About #2200CC

#2200CC is a medium-dark, vivid violet with a hue angle of 250°. 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 0 (0%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#2200CC
Short HEX#20C
RGBrgb(34, 0, 204)
RGB percentrgb(13.3%, 0%, 80%)
HSLhsl(250, 100%, 40%)
HSV / HSBhsv(250, 100%, 80%)
CMYKcmyk(83%, 100%, 0%, 20%)
CIELAB (D65)lab(25.9 67.3 -89.4)
Decimal2228428
Binary00100010 00000000 11001100

HEX 22 00 CC → 34, 0, 204 (each pair is a base-16 number: 2×16 + 2 = 34)

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 #2200CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #2200CCRatioAA normalAA largeAAA normalAAA large
White text10.83:1PassPassPassPass
Black text1.94:1FailFailFailFail
White text on #2200CC
Black text on #2200CC
#2200CC text on white
#2200CC text on black

Relative luminance is 0.0470 (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
#0046d1

Deuteranopia
#0033c9

Tritanopia
#005477

Achromatopsia
#3d3d3d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 7.3). 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#0000cd1
blue#0000ff6.1
darkblue#00008b9.1
indigo#4b008210.6

Nearby colors

CSS

.element {
  color: #2200cc;
  background-color: rgb(34, 0, 204);
  border: 1px solid hsl(250, 100%, 40%);
  box-shadow: 0 2px 8px rgb(34 0 204 / 50%);
}
:root { --brand: #2200cc; }

Frequently asked questions

What color is #2200CC?
A medium-dark vivid violet in the blue family. Closest CSS name: mediumblue.
What is #2200CC in RGB?
rgb(34, 0, 204): red 34, green 0, blue 204.
What is the complementary color of #2200CC?
#AACC00, found by rotating the hue 180°.