#002222 color

#002222 is rgb(0, 34, 34) in RGB and hsl(180, 100%, 7%) in HSL. The closest CSS named color is darkslategray (#2f4f4f, ΔE 14.2). Use white text on it (contrast 16.77:1).

#002222cyan
HEX#002222
Short HEX#022
RGBrgb(0, 34, 34)
RGB percentrgb(0%, 13.3%, 13.3%)
HSLhsl(180, 100%, 7%)
HSV / HSBhsv(180, 100%, 13%)
CMYKcmyk(100%, 0%, 0%, 87%)

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

About #002222

#002222 is a very dark, vivid cyan with a hue angle of 180°. It belongs to the black family and reads as a cool color. In the RGB model green is the strongest channel at 34 (13%) and red the weakest at 0 (0%). Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#002222
Short HEX#022
RGBrgb(0, 34, 34)
RGB percentrgb(0%, 13.3%, 13.3%)
HSLhsl(180, 100%, 7%)
HSV / HSBhsv(180, 100%, 13%)
CMYKcmyk(100%, 0%, 0%, 87%)
CIELAB (D65)lab(11 -12.1 -3.6)
Decimal8738
Binary00000000 00100010 00100010

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

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 #002222

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #002222RatioAA normalAA largeAAA normalAAA large
White text16.77:1PassPassPassPass
Black text1.25:1FailFailFailFail
White text on #002222
Black text on #002222
#002222 text on white
#002222 text on black

Relative luminance is 0.0126 (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
#1f2022

Deuteranopia
#1a1c22

Tritanopia
#002422

Achromatopsia
#1d1d1d

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 13.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
darkslategray#2f4f4f14.2
black#00000014.6
midnightblue#19197025.6
indigo#4b008226.3

Nearby colors

CSS

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

Frequently asked questions

What color is #002222?
A very dark vivid cyan in the black family. Closest CSS name: darkslategray.
What is #002222 in RGB?
rgb(0, 34, 34): red 0, green 34, blue 34.
What is the complementary color of #002222?
#220000, found by rotating the hue 180°.