Shades of Black
with Hex Codes

Black hex code: #000000 (CSS black) · Eerie black: #1B1B1B · Jet: #343434 · Rich black: #010B13

Pure black #000000 is the darkest value a screen can show, but most modern interfaces avoid it for large surfaces because it creates harsh contrast with white text and makes OLED scrolling smear. Designers usually pick a near-black instead: neutral ones like eerie black #1B1B1B, cool ones with a hint of blue or green, or warm ones with a hint of brown. This page collects the named shades of black and the near-blacks used in popular dark themes.

38+Color Shades
1-clickCopy Hex Code
3Filter Categories
Filter 38 colors

Complete List of Black Color Shades

Click to copy HTML
Black #000000
Click to copy
Rich Black (FOGRA39) #010203
Click to copy
Rich Black (FOGRA29) #010B13
Click to copy
Vampire Black #080808
Click to copy
Night #0C090A
Click to copy
Smoky Black #100C08
Click to copy
Material Dark #121212
Click to copy
Chinese Black #141414
Click to copy
Licorice #1A1110
Click to copy
Dark Jungle Green #1A2421
Click to copy
Eerie Black #1B1B1B
Click to copy
Raisin Black #242124
Click to copy
Charleston Green #232B2B
Click to copy
Black Leather Jacket #253529
Click to copy
Gunmetal #2A3439
Click to copy
Dark Charcoal #333333
Click to copy
Jet #343434
Click to copy
Onyx #353839
Click to copy
Charcoal #36454F
Click to copy
Black Olive #3B3C36
Click to copy
Black Bean #3D0C02
Click to copy
Arsenic #3B444B
Click to copy
Outer Space #414A4C
Click to copy
Black Coral #54626F
Click to copy HTML
Midnight Blue #191970
Click to copy HTML
Dark Slate Gray #2F4F4F
Click to copy Brand
Spotify Black #191414
Click to copy Brand
GitHub Dark #24292E
Click to copy Tailwind
Tailwind neutral-950 #0A0A0A
Click to copy Tailwind
Tailwind neutral-900 #171717
Click to copy Tailwind
Tailwind zinc-950 #09090B
Click to copy Tailwind
Tailwind zinc-900 #18181B
Click to copy Tailwind
Tailwind gray-950 #030712
Click to copy Tailwind
Tailwind gray-900 #111827
Click to copy Tailwind
Tailwind slate-950 #020617
Click to copy Tailwind
Tailwind slate-900 #0F172A
Click to copy Tailwind
Tailwind stone-950 #0C0A09
Click to copy Tailwind
Tailwind stone-900 #1C1917

Shades of Black — Hex Reference Table

Click any hex code or colour swatch to copy it to your clipboard.

PreviewNameHex CodeRGBCategory

How to Use Shades of Black in CSS

Every shade on this page can be used directly in CSS. Copy the hex code and paste it into any CSS color property: color, background-color, border-color, box-shadow, or outline-color.

For transparency effects, convert the hex to RGB using the table above and use rgba(). For a design system, store your chosen shade as a CSS custom property so you can update it site-wide from one place.

/* Pure black text */ h1 { color: #000000; } /* Dark mode surface (softer than pure black) */ body.dark { background-color: #121212; color: #E5E5E5; } /* Black overlay with transparency */ .modal-backdrop { background-color: rgba(0, 0, 0, 0.6); } /* CSS custom property */ :root { --surface-dark: #1B1B1B; }

Frequently Asked Questions

What is the hex code for black?
Pure black is #000000 (RGB 0, 0, 0), the CSS named color black. It can also be written as the shorthand #000.
What is the best black for dark mode?
Most dark themes avoid pure #000000 for backgrounds. Google's Material Design recommends #121212, and popular alternatives are eerie black #1B1B1B, Tailwind #0F172A (slate-900) and #18181B (zinc-900). Use light gray text such as #E5E5E5 instead of pure white to reduce glare.
What is rich black?
Rich black is a print term for black ink mixed with other inks so it looks deeper than plain black. On screens it is usually shown as a very dark blue-black, such as #010B13 (FOGRA29) or #010203 (FOGRA39).
What are the different shades of black called?
Named near-blacks include jet, onyx, eerie black, raisin black, licorice, smoky black, night, vampire black, Charleston green, black olive, black bean, gunmetal and charcoal.
How do I use black in CSS?
Use color: #000; or color: black; for solid black, and RGB with an alpha value for shadows and overlays: background: rgba(0, 0, 0, 0.5);. For a softer text color, try #1B1B1B or #111827.

More Color Shade Collections

✓ Hex copied!