Dark Blue Hex Code — #00008B
RGB, HSL, and CMYK values for Dark Blue.
Last updated: April 6, 2026
Dark Blue Color Values
| Format | Value |
|---|---|
| HEX | #00008B |
| RGB | rgb(0, 0, 139) |
| HSL | hsl(240, 100%, 27%) |
| CMYK | cmyk(100%, 100%, 0%, 45%) |
About Dark Blue
Color psychology: Authority, intelligence.
Dark Blue (#00008B) is a dark shade of blue with a hue angle of 240° on the color wheel, 100% saturation, and 27% lightness. It's commonly used in web design, graphic design, and branding where authority, intelligence are desired associations.
In color theory, Dark Blue sits in the cool section of the spectrum. Its high saturation makes it vivid and attention-grabbing — ideal for CTAs, headings, and brand accents.
When to Use Dark Blue in Design
Web Design
Use Dark Blue 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
Dark Blue conveys authority, intelligence — 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:100% M:100% Y:0% K:45%) 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 Dark Blue are effective for primary buttons, navigation bars, and text. Use a lighter tint (increase HSL lightness to 90%+) for hover backgrounds.
How to Use Dark Blue in CSS
/* Using HEX */ color: #00008B; background-color: #00008B; /* Using RGB */ color: rgb(0, 0, 139); /* Using HSL — best for creating variations */ color: hsl(240, 100%, 27%); /* Transparent overlay (50% opacity) */ background-color: rgba(0, 0, 139, 0.5); /* Lighter variant for hover states */ background-color: hsl(240, 100%, 37%); /* Darker variant for active states */ background-color: hsl(240, 100%, 17%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Dark Blue without changing its core hue or saturation.
Colors That Go With Dark Blue
Complementary
Analogous
Triadic
Similar Shades of Blue
Frequently Asked Questions
What is the hex code for Dark Blue?
What is Dark Blue in RGB and when should I use RGB?
How to use Dark Blue in CSS with different color formats?
What is the HSL value of Dark Blue and why is HSL useful for designers?
What is the CMYK value of Dark Blue for print design?
What colors pair well with Dark Blue in design projects?
Is Dark Blue (#00008B) 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.