#2200FF color

#2200FF is rgb(34, 0, 255) in RGB and hsl(248, 100%, 50%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 0.8). Use white text on it (contrast 8.36:1).

#2200FFviolet
HEX#2200FF
Short HEX#20F
RGBrgb(34, 0, 255)
RGB percentrgb(13.3%, 0%, 100%)
HSLhsl(248, 100%, 50%)
HSV / HSBhsv(248, 100%, 100%)
CMYKcmyk(87%, 100%, 0%, 0%)

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

About #2200FF

#2200FF is a medium, vivid violet with a hue angle of 248°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) 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#2200FF
Short HEX#20F
RGBrgb(34, 0, 255)
RGB percentrgb(13.3%, 0%, 100%)
HSLhsl(248, 100%, 50%)
HSV / HSBhsv(248, 100%, 100%)
CMYKcmyk(87%, 100%, 0%, 0%)
CIELAB (D65)lab(33 79.4 -106.6)
Decimal2228479
Binary00100010 00000000 11111111

HEX 22 00 FF → 34, 0, 255 (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 #2200FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #2200FFRatioAA normalAA largeAAA normalAAA large
White text8.36:1PassPassPassPass
Black text2.51:1FailFailFailFail
White text on #2200FF
Black text on #2200FF
#2200FF text on white
#2200FF text on black

Relative luminance is 0.0756 (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
#0059ff

Deuteranopia
#0040fb

Tritanopia
#006b96

Achromatopsia
#4e4e4e

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 7.9). 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
blue#0000ff0.8
mediumblue#0000cd6.8
blueviolet#8a2be211.3
darkviolet#9400d312.2

Nearby colors

CSS

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

Frequently asked questions

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