Cobalt color: #0047ab
The Cobalt color code in every format, with shades, matching colors and ready palettes.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
OKLCH
- Blue
- Dark
- Vivid
- Deep
- Cool
- blue-800
- Black 33%
Looks the same on every screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
Also called: Cobalt blue
Palettes with Cobalt
Similar named colors
Questions about Cobalt
What is the hex code for Cobalt?
The hex code for Cobalt is #0047ab. In RGB it is rgb(0 71 171), in HSL hsl(215.09 100% 33.53%) and in OKLCH oklch(42.842% 0.17202 259.702).
What colors go well with Cobalt?
Its complementary color is #6e4600. For a calmer look, pair it with the analogous colors #00587e and #5233a5. Ready palettes with Cobalt are shown on this page.
Is Cobalt a warm or cool color?
Cobalt is a cool color with an OKLCH hue of 260 degrees.
What text color is readable on Cobalt?
White text is more readable on Cobalt: white gives a contrast ratio of 8.44:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.
About #0047ab
#0047ab is a deep dark blue color. In OKLCH it has 42.8% lightness, 0.172 chroma and a hue of 260°.
Looks the same on every screen.
White text on it reaches 8.44:1 contrast and black text 2.49:1, so white text reads better.
The closest named color is Soulstone Blue (#0047ab). In Tailwind CSS the closest color is blue-800.