#000000 color (black)

#000000 is rgb(0, 0, 0) in RGB and hsl(0, 0%, 0%) in HSL. It is exactly the CSS color black. Use white text on it (contrast 21.00:1).

#000000black
HEX#000000
Short HEX#000
RGBrgb(0, 0, 0)
RGB percentrgb(0%, 0%, 0%)
HSLhsl(0, 0%, 0%)
HSV / HSBhsv(0, 0%, 0%)
CMYKcmyk(0%, 0%, 0%, 100%)

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

About #000000

#000000 is a very dark, neutral gray. It belongs to the black family and reads as a neutral color. All three channels are equal (0), so it is a pure gray at 0% brightness with no hue at all. Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.

Color conversions

HEX#000000
Short HEX#000
RGBrgb(0, 0, 0)
RGB percentrgb(0%, 0%, 0%)
HSLhsl(0, 0%, 0%)
HSV / HSBhsv(0, 0%, 0%)
CMYKcmyk(0%, 0%, 0%, 100%)
CIELAB (D65)lab(0 0 0)
Decimal0
Binary00000000 00000000 00000000

HEX 00 00 00 → 0, 0, 0 (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 #000000

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #000000RatioAA normalAA largeAAA normalAAA large
White text21.00:1PassPassPassPass
Black text1.00:1FailFailFailFail
White text on #000000
Black text on #000000
#000000 text on white
#000000 text on black

Relative luminance is 0.0000 (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
#000000

Deuteranopia
#000000

Tritanopia
#000000

Achromatopsia
#000000

People with red–green color blindness see this color almost unchanged (ΔE 0 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#0000000
darkslategray#2f4f4f24.3
midnightblue#19197027.3
navy#00008029.7

Nearby colors

CSS

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

Frequently asked questions

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