Black color values
| Format | Value |
|---|---|
| Hex | #000000 |
| RGB | rgb(0, 0, 0) |
| HSL | hsl(0, 0%, 0%) |
| HSV | 0, 0%, 0% |
| CMYK (simple conversion) | 0%, 0%, 0%, 100% |
| Decimal | 0 |
CMYK is calculated with the standard formula from the RGB values. Printed colors depend on the ink and paper, so treat it as a starting point.
About Black
Black is the darkest possible color, representing the complete absence of visible light. It serves as the standard default for text across nearly all digital platforms. In branding, it communicates authority, elegance, and high contrast. It is one of the 148 CSS named colors.
Shades and tints of Black
Tints mix Black with white and shades mix it with black. Each step changes the color by 10 percentage points.
| Step | Tint (towards white) | Shade (towards black) |
|---|---|---|
| 10% | #1A1A1A | #000000 |
| 20% | #333333 | #000000 |
| 30% | #4D4D4D | #000000 |
| 40% | #666666 | #000000 |
| 50% | #808080 | #000000 |
Color harmony for Black
These colors keep the same saturation and lightness as Black and rotate the hue around the color wheel.
| Scheme | Colors |
|---|---|
| Complementary | #000000 |
| Analogous | #000000 #000000 |
| Triadic | #000000 #000000 |
| Split complementary | #000000 #000000 |
Contrast and accessibility
Contrast between #000000 and white is 21.00:1 (passes AAA). Against black it is 1.00:1 (fails). For text on a Black background, white text is the more readable choice.
Use Black in CSS
.element {
color: black;
background-color: #000000;
border-color: rgb(0 0 0);
outline-color: hsl(0 0% 0%);
}All four lines produce exactly the same color. The keyword black is one of the CSS named colors, so it works in every browser without a color function.
Similar named colors
- Dark Green: #006400
- midnightblue: #191970
- darkslategray: #2F4F4F
- green: #008000
FAQ
What is the hex code for Black?
The hex code for Black is #000000. As a CSS color keyword you can also write black.
What is Black in RGB?
Black is rgb(0, 0, 0): red 0, green 0, blue 0 on the 0 to 255 scale.
What color is closest to Black?
Of the CSS named colors, darkgreen (#006400) is the closest match to Black, followed by midnightblue and darkslategray.
More colors
- Beige: previous page
- Blue: next page
- CSS named colors: the full list