Black Hex Code — #000000
RGB, HSL, and CMYK values for Black.
Last updated: April 6, 2026
Black Color Values
| Format | Value |
|---|---|
| HEX | #000000 |
| RGB | rgb(0, 0, 0) |
| HSL | hsl(0, 0%, 0%) |
| CMYK | cmyk(0%, 0%, 0%, 100%) |
About Black
Color psychology: Power, elegance, mystery.
Black (#000000) is a dark shade of black with a hue angle of 0° on the color wheel, 0% saturation, and 0% lightness. It's commonly used in web design, graphic design, and branding where power, elegance, mystery are desired associations.
In color theory, Black sits in the warm section of the spectrum. Its low saturation creates a muted, understated tone — great for backgrounds, borders, and subtle UI elements.
When to Use Black in Design
Web Design
Use Black for headings, links, or accent elements against light backgrounds. Dark colors like this provide strong contrast and draw the eye to important content.
Branding & Logo
Black conveys power, elegance, mystery — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.
Print Design
Use the CMYK values (C:0% M:0% Y:0% K:100%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.
UI / UX Design
Dark colors like Black are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Black in CSS
/* Using HEX */ color: #000000; background-color: #000000; /* Using RGB */ color: rgb(0, 0, 0); /* Using HSL — best for creating variations */ color: hsl(0, 0%, 0%); /* Transparent overlay (50% opacity) */ background-color: rgba(0, 0, 0, 0.5); /* Lighter variant for hover states */ background-color: hsl(0, 0%, 10%); /* Darker variant for active states */ background-color: hsl(0, 0%, 5%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Black without changing its core hue or saturation.
Colors That Go With Black
Complementary
Analogous
Triadic
Similar Shades of Black
Frequently Asked Questions
What is the hex code for Black?
What is Black in RGB and when should I use RGB?
How to use Black in CSS with different color formats?
What is the HSL value of Black and why is HSL useful for designers?
What is the CMYK value of Black for print design?
What colors pair well with Black in design projects?
Is Black (#000000) accessible for web design and WCAG compliant?
Was this page helpful?
Written by
Tamanna Tasnim
Senior Full Stack Developer
Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.