Cobalt Blue (#0047AB) — Color Codes, Meaning & UI Palettes
Cobalt Blue is a deep, luminous blue with historical origins in cobalt aluminate pigment dating back to 1802. Renowned for its visual stability, electric brilliance, and high saturation, it is a staple in fine art, ceramics, and modern high-tech interfaces.
#0047AB. In RGB, it is rgb(0, 71, 171). In HSL, it is hsl(215deg, 100%, 34%), and its print CMYK formulation is cmyk(100%, 58%, 0%, 33%). It has a relative luminance of 0.074 and pairs best in UI design with Pure White (#FFFFFF) and Pale Slate (#D9E2EC).
WCAG 2.1 Accessibility & Contrast Rating
11-Step Tints & Shades Scale (Tailwind 50–950)
Mathematically balanced luminance scale for design tokens and CSS color palettes. Click any shade to copy hex code:
Color Harmonies & Palette Schemes
Complementary
Analogous -30°
Analogous +30°
Triadic +120°
Triadic +240°
Curated UI Design Pairings for Cobalt Blue
Pairs exceptionally well with crisp white typography and subtle slate grays. Use as a high-authority primary action color in fintech, analytics dashboards, and developer tooling.
Export Cobalt Blue Code Snippets
--color-cobalt-blue: #0047AB;
'cobalt-blue': '#0047AB'
Color(hex: "#0047AB")
{"name": "Cobalt Blue", "hex": "#0047AB"}
Frequently Asked Questions About Cobalt Blue (#0047AB)
What is the exact HEX code for Cobalt Blue?
The exact HEX code for Cobalt Blue is #0047AB. In 8-digit hexadecimal (with 100% opacity), it is #0047ABFF. Its RGB decimal equivalent is rgb(0, 71, 171) and its HSL value is hsl(215deg, 100%, 34%).
What colors go best with Cobalt Blue in UI and web design?
Cobalt Blue pairs exceptionally well with Pure White (#FFFFFF), Pale Slate (#D9E2EC), Amber Gold (#F59E0B), and Deep Obsidian (#0A0B0E).
How do I use Cobalt Blue in CSS and Tailwind CSS?
In standard CSS, apply it directly via color: #0047AB; or background-color: #0047AB;. In Tailwind CSS, use arbitrary value syntax like bg-[#0047ab] or text-[#0047ab], or define it in your Tailwind v4 @theme block as --color-cobalt-blue: #0047AB;.
Is Cobalt Blue WCAG accessible for readable text?
Against a pure white background (#FFFFFF), Cobalt Blue achieves a contrast ratio of 8.44:1 (AAA). Against a pure black background (#000000), it achieves 2.49:1 (Fail). Check custom contrast pairings on Pikka's WCAG Contrast Checker.
Explore More Colors in the Dictionary
Browse our complete catalog of curated named colors, harmonic palettes, and accessible UI combinations.