Cobalt Blue Hex Code — #0047AB
RGB, HSL, and CMYK values for Cobalt Blue.
Last updated: April 6, 2026
Cobalt Blue Color Values
| Format | Value |
|---|---|
| HEX | #0047AB |
| RGB | rgb(0, 71, 171) |
| HSL | hsl(215, 100%, 34%) |
| CMYK | cmyk(100%, 58%, 0%, 33%) |
About Cobalt Blue
Color psychology: Trust, depth.
Cobalt Blue (#0047AB) is a dark shade of blue with a hue angle of 215° on the color wheel, 100% saturation, and 34% lightness. It's commonly used in web design, graphic design, and branding where trust, depth are desired associations.
In color theory, Cobalt 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 Cobalt Blue in Design
Web Design
Use Cobalt 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
Cobalt Blue conveys trust, depth — 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:58% Y:0% K:33%) 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 Cobalt 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 Cobalt Blue in CSS
/* Using HEX */ color: #0047AB; background-color: #0047AB; /* Using RGB */ color: rgb(0, 71, 171); /* Using HSL — best for creating variations */ color: hsl(215, 100%, 34%); /* Transparent overlay (50% opacity) */ background-color: rgba(0, 71, 171, 0.5); /* Lighter variant for hover states */ background-color: hsl(215, 100%, 44%); /* Darker variant for active states */ background-color: hsl(215, 100%, 24%);
HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Cobalt Blue without changing its core hue or saturation.
Colors That Go With Cobalt Blue
Complementary
Analogous
Triadic
Similar Shades of Blue
Frequently Asked Questions
What is the hex code for Cobalt Blue?
What is Cobalt Blue in RGB and when should I use RGB?
How to use Cobalt Blue in CSS with different color formats?
What is the HSL value of Cobalt Blue and why is HSL useful for designers?
What is the CMYK value of Cobalt Blue for print design?
What colors pair well with Cobalt Blue in design projects?
Is Cobalt Blue (#0047AB) 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.