Black

Hex #000000 · RGB(0, 0, 0) · HSL(0, 0%, 0%)

HEX
#000000
RGB
rgb(0, 0, 0)
HSL
hsl(0, 0%, 0%)
CMYK
cmyk(0%, 0%, 0%, 100%)

What is black?

Black is the absence of light. Its standard hex code is #000000, RGB is rgb(0, 0, 0) and HSL is hsl(0, 0%, 0%). In print, pure black (#000000) is "rich black" using K ink. On screens, it's the darkest color and the base of dark mode.

Black hex codes and variations

ColorHEXRGB
Jet#343434rgb(52, 52, 52)
Onyx#353839rgb(53, 56, 57)
Charcoal#36454Frgb(54, 69, 79)
Gunmetal#2A3439rgb(42, 52, 57)
Graphite#383428rgb(56, 52, 40)
Ebony#555D50rgb(85, 93, 80)

Black color psychology

Black communicates power, elegance, mystery and sophistication. Luxury brands love black (Chanel, Rolex, Apple's darker products). Black also signals formality and seriousness in clothing and typography. Overusing black can feel heavy or oppressive; pairing with white or warm accent colors softens it.

Black in web design

Pure #000000 for backgrounds is often too harsh on screens. Modern dark mode designs use off-blacks like #0F0F0F, #111827 (Tailwind gray-900) or #1A1A1A for better readability and reduced eye strain. For text, use #000000 for maximum contrast but prefer #111827 or #1F2937 for less harsh reading experiences.

Shades of black

Related black colors

Frequently asked

What is the hex code for black?

Black is #000000.

What is the RGB for black?

rgb(0, 0, 0).

What is the hex code for pitch black?

#000000 — this is the darkest possible color on screen.

What is the best black for dark mode?

Off-blacks like #111827 or #0F0F0F reduce eye strain and look more refined than pure #000000.