Skip to content

Black (#000000)

The hex code for Black is #000000. It is rgb(0, 0, 0) in RGB, hsl(0, 0%, 0%) in HSL, and about cmyk(0%, 0%, 0%, 100%) in CMYK — a darkest black. White text is the more readable choice on this background.

#000000
HEX#000000
RGBrgb(0, 0, 0)
HSLhsl(0, 0%, 0%)
HSVhsv(0, 0%, 0%)
CMYKcmyk(0%, 0%, 0%, 100%)
OKLCHoklch(0% 0 0)
LABlab(0.00% 0.00 0.00)
LCHlch(0.00% 0.00 0.00)

Colors Closest to Black

Black is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every black in the library.

#000000 Channel Values

How Black breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 0 · B 08-bit channels as sent to the display
HSLH 0° · S 0% · L 0%Easiest model for building lighter and darker variants
HSVH 0° · S 0% · V 0%Matches the picker in most design tools
CMYKC 0% · M 0% · Y 0% · K 100%Approximate ink mix; confirm with an ICC profile before printing
Luminance21:1 vs white · 1:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Black background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text21:1AA normal AA large AAA normal
Fails AABlack text1:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #000000 in the contrast checker.

Colors That Go With Black

Pairings derived from color-wheel relationships. The complementary color sits opposite Black; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Black

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #000000.

How Black Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#000000
Protanopia#000000
Protanomaly#000000
Deuteranopia#000000
Deuteranomaly#000000
Tritanopia#000000
Tritanomaly#000000
Achromatopsia#000000

Test a full palette in the color blindness simulator.

Using #000000 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--black: #000000;
CSS backgroundbackground-color: #000000;
Tailwind configcolors: { 'black': '#000000' }
SwiftUIColor(red: 0.000, green: 0.000, blue: 0.000)
Android XML<color name="black">#000000</color>
SVG fillfill="#000000"

More Black Colors

Black sits in the black family. These are its neighbours across that family's full range, each with its own breakdown.

#000000 Frequently Asked Questions

What is the hex code for Black?

The hex code for Black is #000000. That is rgb(0, 0, 0) in RGB, hsl(0, 0%, 0%) in HSL, and approximately cmyk(0%, 0%, 0%, 100%) in CMYK.

What is the RGB value of #000000?

#000000 is rgb(0, 0, 0) — red 0, green 0, and blue 0 on the 0-255 scale.

What is the CMYK value of #000000?

#000000 converts to approximately cmyk(0%, 0%, 0%, 100%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #000000 be black or white?

White text is the more readable choice. #000000 scores 21:1 against white and 1:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is Black a CSS named color?

Yes. Black is one of the CSS named colors, so you can write color: black instead of the hex code.

Open Black in a Tool

Keep exploring: every black in the color library, the guide to shades of black, or the full color library.