colors
Back to gallery

Hemmed Saint-Petersburg

#0d4e71
Notes

Hemmed Saint-Petersburg (#0D4E71) is a deep azure with a jewel character. It carries the deep, saturated richness of a gemstone. Authoritative and slightly formal, it works well for type and heavy UI elements. Its HSL profile (201°, 79%, 25%) places it in the highly saturated band at a dark 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 orange. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#0d4e71
RGB
rgb(13, 78, 113)
HSL
hsl(201, 79%, 25%)
HWB
hwb(201 5% 56%)
OKLCH
oklch(40.4% 0.084 238.9)
P3
color(display-p3 0.1374 0.3011 0.4314)
HSV
hsv(201, 88%, 44%)
LAB
lab(31.17% -5.70 -25.53)
LCH
lch(31.17% 26.16 257.41)
CMYK
cmyk(88%, 31%, 0%, 56%)

Etymology

Hemmed
adjective

Old English hem, border — past-participle of hem. As a color modifier, hemmed implies a clear-and-finished-and-bordered quality where the hue carries the visual register of carefully-hemmed-and-finished textile-edge. Sits at the crisp-and-finished end of the grid, parallel to trim and finished in usage.

Saint-Petersburg
noun

The Russian Baltic city founded by Peter the Great — and the deep blue of the Neva River, the Hermitage Imperial palace's Catherine Hall, and the Imperial Navy uniforms based here. Saint-Petersburg color refers to a Catherine Hall blue-and-gold interior: a saturated, slightly cool deep blue with the matte finish of distemper-painted plaster.

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.

#0d4e71
Original
#3d4e73
Protanopia
#304570
Deuteranopia
#00575a
Tritanopia
#434343
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.95: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.35: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
##0D4E71
Display P3
Display P3
color(display-p3 0.1374 0.3011 0.4314)
P3 has subtle headroomOKLCH chroma 0.084

Moderately saturated colors gain a small bump in P3 — the difference is usually visible side-by-side on wide-gamut hardware but won't change the character of the color.

Related Colors

Canvas