#000022 color

#000022 is rgb(0, 0, 34) in RGB and hsl(240, 100%, 7%) in HSL. The closest CSS named color is black (#000000, ΔE 14.6). Use white text on it (contrast 20.53:1).

#000022indigo
HEX#000022
Short HEX#002
RGBrgb(0, 0, 34)
RGB percentrgb(0%, 0%, 13.3%)
HSLhsl(240, 100%, 7%)
HSV / HSBhsv(240, 100%, 13%)
CMYKcmyk(100%, 100%, 0%, 87%)

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

About #000022

#000022 is a very dark, vivid indigo with a hue angle of 240°. It belongs to the black family and reads as a cool color. In the RGB model blue 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#000022
Short HEX#002
RGBrgb(0, 0, 34)
RGB percentrgb(0%, 0%, 13.3%)
HSLhsl(240, 100%, 7%)
HSV / HSBhsv(240, 100%, 13%)
CMYKcmyk(100%, 100%, 0%, 87%)
CIELAB (D65)lab(1 7.3 -18.8)
Decimal34
Binary00000000 00000000 00100010

HEX 00 00 22 → 0, 0, 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 #000022

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #000022RatioAA normalAA largeAAA normalAAA large
White text20.53:1PassPassPassPass
Black text1.02:1FailFailFailFail
White text on #000022
Black text on #000022
#000022 text on white
#000022 text on black

Relative luminance is 0.0012 (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
#000523

Deuteranopia
#000221

Tritanopia
#00080f

Achromatopsia
#040404

People with red–green color blindness see this color almost unchanged (ΔE 1.1 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
black#00000014.6
midnightblue#19197015.5
navy#00008018.4
darkblue#00008b19.5

Nearby colors

CSS

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

Frequently asked questions

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