#2222DD color

#2222DD is rgb(34, 34, 221) in RGB and hsl(240, 73%, 50%) in HSL. The closest CSS named color is blue (#0000ff, ΔE 3.8). Use white text on it (contrast 8.97:1).

#2222DDindigo
HEX#2222DD
Short HEX#22D
RGBrgb(34, 34, 221)
RGB percentrgb(13.3%, 13.3%, 86.7%)
HSLhsl(240, 73%, 50%)
HSV / HSBhsv(240, 85%, 87%)
CMYKcmyk(85%, 85%, 0%, 13%)

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

About #2222DD

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

Color conversions

HEX#2222DD
Short HEX#22D
RGBrgb(34, 34, 221)
RGB percentrgb(13.3%, 13.3%, 86.7%)
HSLhsl(240, 73%, 50%)
HSV / HSBhsv(240, 85%, 87%)
CMYKcmyk(85%, 85%, 0%, 13%)
CIELAB (D65)lab(31.1 62.7 -90.5)
Decimal2237149
Binary00100010 00100010 11011101

HEX 22 22 DD → 34, 34, 221 (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 #2222DD

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #2222DDRatioAA normalAA largeAAA normalAAA large
White text8.97:1PassPassPassPass
Black text2.34:1FailFailFailFail
White text on #2222DD
Black text on #2222DD
#2222DD text on white
#2222DD text on black

Relative luminance is 0.0670 (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
#0053e2

Deuteranopia
#003fda

Tritanopia
#006184

Achromatopsia
#494949

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 6.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
blue#0000ff3.8
mediumblue#0000cd4.9
rebeccapurple#66339912.1
blueviolet#8a2be212.2

Nearby colors

CSS

.element {
  color: #2222dd;
  background-color: rgb(34, 34, 221);
  border: 1px solid hsl(240, 73%, 50%);
  box-shadow: 0 2px 8px rgb(34 34 221 / 50%);
}
:root { --brand: #2222dd; }

Frequently asked questions

What color is #2222DD?
A medium saturated indigo in the blue family. Closest CSS name: blue.
What is #2222DD in RGB?
rgb(34, 34, 221): red 34, green 34, blue 221.
What is the complementary color of #2222DD?
#DDDD22, found by rotating the hue 180°.