#000000Black is a very dark neutral — a near-black that works as a supporting color rather than a statement.
Black sits at 0% lightness with almost no saturation, which makes it a true workhorse neutral. In practice it behaves best as a text or near-black surface color: it stays out of the way, lets accent colors do the talking, and pairs safely with nearly any hue on the wheel.
With a 21.00:1 contrast ratio against white, black is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. It is also dark enough to serve as a background in a dark theme, where lighter tints of black can act as hover and border states.
Black is #000000 in hexadecimal and rgb(0, 0, 0) in RGB. In CSS, black, #000, and #000000 represent the same sRGB color. Six-digit hex is often clearest in design tokens because it uses the same format as colors that cannot be shortened.
Black on white reaches the maximum WCAG contrast ratio of 21:1. Pure black can feel visually heavy on bright interfaces, so body text is sometimes softened to a near-black such as #222222. Always test that actual value against its real background rather than assuming every dark gray passes.
Every palette below is computed from black's position on the color wheel (hue 0°). Hover any swatch to see its code; click to copy.
Tints mix black toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how black performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Black | 21.00:1 | AAA | AAA |
| Black text on Black | 1.00:1 | Fail | Fail |
#000000#000000#000000Copy-ready snippets. In CSS you can also use the keyword black directly.
:root {
--black: #000000;
--black-rgb: 0, 0, 0;
--black-tint: #737373;
--black-shade: #000000;
}
.btn-black {
background: var(--black);
color: #ffffff;
}
@import "tailwindcss";
@theme {
--color-black: #000000;
--color-black-light: #737373;
--color-black-dark: #000000;
}Generate a complete ramp and semantic roles in the Tailwind color generator.
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
black: { DEFAULT: "#000000", light: "#737373", dark: "#000000" }
}
}
}
};
The closest CSS named colors by perceptual (Lab) distance.