000000 — RGB, HSL, CMYK and Contrast

Every value recomputed from the hex code · WCAG 2.1 contrast ratios

A neutral at 0% lightness and 0% saturation, which puts it at 21.00:1 against white and 1.00:1 against black. The tables below give the notation conversions, the tints and shades that keep the hue intact, and the harmonies that pair with it.

000000

Notation conversions

NotationValue
HEX000000
RGBrgb(0, 0, 0)
HSLhsl(0, 0%, 0%)
CMYKcmyk(0%, 0%, 0%, 100%)
Relative luminance0.0000
Perceived brightness0.0 / 100
R=0 G=0 B=0 · hue 0.0° · saturation 0.0% · lightness 0.0%

Contrast against pure white and pure black

Pair this colour with the two extremes to see which is the safer text partner. AA needs 4.5:1 for body text and 3:1 for large text; AAA raises that to 7:1 and 4.5:1.

AgainstHexRatioAA textAA largeAAA text
#FFFFFFwhite21.00:1passpasspass
#000000black1.00:1failfailfail

Tints and shades

Lightness moves in ten-point steps while hue and saturation stay fixed, which keeps the colour recognisable in a scale. The last column is the ratio against white text, useful for deciding where a scale stops working as a background.

StepHexHSLvs white text
shade -30 #000000hsl(0, 0%, 0%)21.00:1
shade -20 #000000hsl(0, 0%, 0%)21.00:1
shade -10 #000000hsl(0, 0%, 0%)21.00:1
tint +10 #1a1a1ahsl(0, 0%, 10%)17.40:1
tint +20 #333333hsl(0, 0%, 20%)12.63:1
tint +30 #4d4d4dhsl(0, 0%, 30%)8.45:1

Harmonies

SchemeHex
Complementary #000000
Analogous −30 #000000
Analogous +30 #000000
Triadic −120 #000000
Triadic +120 #000000

Read back from the notation table, 000000 is rgb(0, 0, 0), which normalises to hue 0.0° at 0.0% saturation and 0.0% lightness. Its relative luminance of 0.0000 is what produces the two ratios above: 21.00:1 against white and 1.00:1 against black, a gap of 20.00. Position 57 of 69 in the colour library, it darkens to #000000 thirty points lower on the lightness axis and lifts to #4d4d4d thirty higher, while the complementary rotation lands on #000000.

Nearby colours

Frequently asked questions

What text colour should sit on 000000?
Black gives 1.00:1 and white gives 21.00:1, so white wins at 21.00:1. That clears the 4.5:1 AA threshold for normal text and the 7:1 AAA threshold as well.

Do the CMYK numbers match a print workflow?
They are the naive conversion from RGB, which assumes no ink limit, no colour profile and no black generation strategy. Real print work needs a profile-aware conversion; the values here are the ones the converter reports and are best used as a starting point for a designer rather than a press-ready separations file.

Convert any other colour, or test a pair against each other, in the ColrShift colour converter and contrast checker. The colour library groups every entry on this site by hue family.