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.
- It is the CSS named color black, so you can write
color: blackinstead of the hex code. - It is one of the 216 web-safe colors: every channel is a multiple of 51 (hex 00, 33, 66, 99, CC, FF).
- It can be written in 3-digit shorthand as
#000.
Color conversions
| HEX | #000000 |
|---|---|
| Short HEX | #000 |
| RGB | rgb(0, 0, 0) |
| RGB percent | rgb(0%, 0%, 0%) |
| HSL | hsl(0, 0%, 0%) |
| HSV / HSB | hsv(0, 0%, 0%) |
| CMYK | cmyk(0%, 0%, 0%, 100%) |
| CIELAB (D65) | lab(0 0 0) |
| Decimal | 0 |
| Binary | 00000000 00000000 00000000 |
HEX 00 00 00 → 0, 0, 0 (each pair is a base-16 number: 0×16 + 0 = 0)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
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 #000000 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 21.00:1 | Pass | Pass | Pass | Pass |
| Black text | 1.00:1 | Fail | Fail | Fail | Fail |
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
| Name | HEX | ΔE 2000 |
|---|---|---|
| black | #000000 | 0 |
| darkslategray | #2f4f4f | 24.3 |
| midnightblue | #191970 | 27.3 |
| navy | #000080 | 29.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; }