colors
Back to gallery

Heroic Cobalto

#0e40c4
Notes

Heroic Cobalto (#0E40C4) is a true azure with a vibrant character. It holds its own as a focal accent, carrying visual weight without tipping into neon territory. Its HSL profile (224°, 87%, 41%) places it in the highly saturated band at a mid lightness. Best used in small doses, like logos, CTAs, focus rings, or highlight text, where its saturation becomes a feature rather than noise. For a confident two-color system, pair it with its complementary amber. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#0e40c4
RGB
rgb(14, 64, 196)
HSL
hsl(224, 87%, 41%)
HWB
hwb(224 5% 23%)
OKLCH
oklch(44.1% 0.211 263.8)
P3
color(display-p3 0.1161 0.2471 0.7396)
HSV
hsv(224, 93%, 77%)
LAB
lab(33.44% 37.54 -72.15)
LCH
lch(33.44% 81.33 297.48)
CMYK
cmyk(93%, 67%, 0%, 23%)

Etymology

Heroic
adjective

Latin hēroicus, of a hero — derived from Greek hērōs. As a color modifier, heroic implies a saturated-and-monumental-and-victorious quality, the deep-rich color of Wagner-and-Sibelius late-Romantic-era musical-and-painterly heroic-mode. Sits at the bold-and-celebratory end of the grid, parallel to triumphant and valiant.

Cobalto
noun

The Italian word for cobalt — used for the saturated deep blue of cobalto-glaze on Tuscan and Venetian Renaissance ceramics. The color refers to a cobalto-glazed Tuscan piatto: a saturated, slightly cool deep blue with the high gloss of cobalt-glazed porcelain. The Italian cousin of cobalt.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#0e40c4
Original
#0057c8
Protanopia
#0046c2
Deuteranopia
#00657c
Tritanopia
#3f3f3f
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAAon White
8.24:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
Failon Black
2.55:1

Wide gamut

Display P3 representation

The CSS Color 4 wide-gamut form of this color. Both swatches render the same color on every display — the P3 form only diverges from sRGB when a designer pushes channels outside sRGB's reach.

sRGB hex
sRGB hex
##0E40C4
Display P3
Display P3
color(display-p3 0.1161 0.2471 0.7396)
P3 has visible headroomOKLCH chroma 0.211

This color is chromatic enough that authoring it as P3 native (instead of clamping to sRGB) gives a perceptibly more saturated render on wide-gamut displays — modern Macs, iPhones, iPads, and most recent OLED laptops.

Related Colors

Canvas