Skip to content

13 Shades of Black with Hex Codes

Black is a single hex code — #000000 — but almost no interface actually uses it. The blacks that look right on screen are slightly lifted and slightly tinted.

#000000

The black hex code is #000000

#000000 is rgb(0, 0, 0) in RGB, hsl(0, 0%, 0%) in HSL, and about cmyk(0%, 0%, 0%, 100%) in CMYK. Every other black below has its own hex code.

#000000rgb(0, 0, 0)hsl(0, 0%, 0%)

Named Black Colors and Their Hex Codes

Ordered darkest to lightest. Names marked CSS are color keywords you can write directly in a stylesheet; the rest are common design and print names. Select any swatch for its full breakdown.

BlackCSS
#000000rgb(0, 0, 0)
Rich Black
#010B13rgb(1, 11, 19)
Jet Black
#0A0A0Argb(10, 10, 10)
Soft Black
#131313rgb(19, 19, 19)
Licorice
#1A1110rgb(26, 17, 16)
Off Black
#1A1A1Argb(26, 26, 26)
Eerie Black
#1B1B1Brgb(27, 27, 27)
Raisin Black
#242124rgb(36, 33, 36)
Charcoal Black
#232B2Brgb(35, 43, 43)
Onyx
#353839rgb(53, 56, 57)
DarkSlateGrayCSS
#2F4F4Frgb(47, 79, 79)
Ebony
#555D50rgb(85, 93, 80)
DimGrayCSS
#696969rgb(105, 105, 105)

BlackColor Chart: Hex, RGB, HSL & CMYK

Every black above in all four common formats. CMYK is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

NameHexRGBHSLCMYK
Black#000000rgb(0, 0, 0)hsl(0, 0%, 0%)cmyk(0%, 0%, 0%, 100%)
Rich Black#010B13rgb(1, 11, 19)hsl(207, 90%, 4%)cmyk(95%, 42%, 0%, 93%)
Jet Black#0A0A0Argb(10, 10, 10)hsl(0, 0%, 4%)cmyk(0%, 0%, 0%, 96%)
Soft Black#131313rgb(19, 19, 19)hsl(0, 0%, 7%)cmyk(0%, 0%, 0%, 93%)
Licorice#1A1110rgb(26, 17, 16)hsl(6, 24%, 8%)cmyk(0%, 35%, 38%, 90%)
Off Black#1A1A1Argb(26, 26, 26)hsl(0, 0%, 10%)cmyk(0%, 0%, 0%, 90%)
Eerie Black#1B1B1Brgb(27, 27, 27)hsl(0, 0%, 11%)cmyk(0%, 0%, 0%, 89%)
Raisin Black#242124rgb(36, 33, 36)hsl(300, 4%, 14%)cmyk(0%, 8%, 0%, 86%)
Charcoal Black#232B2Brgb(35, 43, 43)hsl(180, 10%, 15%)cmyk(19%, 0%, 0%, 83%)
Onyx#353839rgb(53, 56, 57)hsl(195, 4%, 22%)cmyk(7%, 2%, 0%, 78%)
DarkSlateGray#2F4F4Frgb(47, 79, 79)hsl(180, 25%, 25%)cmyk(41%, 0%, 0%, 69%)
Ebony#555D50rgb(85, 93, 80)hsl(97, 8%, 34%)cmyk(9%, 0%, 14%, 64%)
DimGray#696969rgb(105, 105, 105)hsl(0, 0%, 41%)cmyk(0%, 0%, 0%, 59%)

Black Scale from Light to Dark

A 12-step lightness scale built from the core black hue, holding hue and saturation constant. This is the shape of a design-system color ramp. Select any swatch for the full breakdown of that color.

Need a perceptually even ramp with semantic roles and contrast evidence? Generate black design tokens.

What Black Communicates

Pure #000000 against pure white is the highest contrast sRGB can produce (21:1) and it is usually too harsh for body text on a bright screen. Most design systems ship an "off-black" somewhere between #111111 and #1A1A1A, often with a few degrees of blue, because that reads as black while reducing halation. On OLED, true black genuinely turns pixels off, which is why dark themes designed for phones do use #000000.

Where black works well

  • Text, where a slightly lifted off-black is easier to read than #000000
  • OLED dark themes, where true black saves power and deepens contrast
  • Luxury and fashion brands, usually with generous whitespace
  • Overlays and scrims using black at partial opacity

Colors that pair with black

Copy the Black Palette as CSS

Every shade on this page as CSS custom properties, ready to paste into a stylesheet.

:root {
  --black-black: #000000;
  --black-rich-black: #010B13;
  --black-jet-black: #0A0A0A;
  --black-soft-black: #131313;
  --black-licorice: #1A1110;
  --black-off-black: #1A1A1A;
  --black-eerie-black: #1B1B1B;
  --black-raisin-black: #242124;
  --black-charcoal-black: #232B2B;
  --black-onyx: #353839;
  --black-darkslategray: #2F4F4F;
  --black-ebony: #555D50;
  --black-dimgray: #696969;
}

Black Color Questions

What is the hex code for black?

The standard black hex code is #000000, which is rgb(0, 0, 0) in RGB and hsl(0, 0%, 0%) in HSL. There is no single "correct" black — this page lists 13 named black shades with their own hex codes.

How many shades of black are there?

Displays can render millions of distinct black values, so any count is a matter of which ones have names. This page lists 13 named shades of black, combining the CSS color keywords with widely used black names from design and print references, plus a generated 12-step lightness scale.

Can I use black for text on a white background?

#000000 scores 21:1 against white. WCAG 2.2 asks for at least 4.5:1 for normal body text and 3:1 for large text, so this shade passes for normal text. Check any specific pairing in the contrast checker.

What colors go well with black?

gold, red, gray all pair well with black. For a specific shade, open its color page to see the complementary, analogous, and triadic colors calculated from its exact hue.

More Color Families