colors
Back to gallery

Twilit Hokkaido

#31249e
Notes

Twilit Hokkaido (#31249E) is a true blue 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 (246°, 63%, 38%) places it in the balanced band at a mid lightness. It works across type, buttons, and borders, saturated enough to feel deliberate but balanced enough to not fight the rest of the palette. For a confident two-color system, pair it with its complementary yellow. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#31249e
RGB
rgb(49, 36, 158)
HSL
hsl(246, 63%, 38%)
HWB
hwb(246 14% 38%)
OKLCH
oklch(37.2% 0.185 277.2)
P3
color(display-p3 0.1842 0.1432 0.5953)
HSV
hsv(246, 77%, 62%)
LAB
lab(24.90% 43.45 -63.51)
LCH
lch(24.90% 76.95 304.38)
CMYK
cmyk(69%, 77%, 0%, 38%)

Etymology

Twilit
adjective

An adjectival form of twilight, coined in the late nineteenth century. Twilit describes a color seen at twilight — the slight cooling and desaturation that low ambient light introduces. Sits in the deep-and-cool corner, lighter than somber and bluer than shadowed. Almost exclusively literary.

Hokkaido
noun

Japan's northernmost island, home to the Furano lavender fields cultivated since 1948 by Tomita Farm — a Japanese imitation of Provençal lavender agriculture, now a national tourist landmark. Hokkaido color refers to a Furano lavender field at peak bloom: a saturated, slightly cool deep blue-violet with the matte finish of Lavandula angustifolia essential-oil-rich bracts. Slightly cooler than Provençal lavanda.

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.

#31249e
Original
#0040a1
Protanopia
#00369c
Deuteranopia
#004860
Tritanopia
#303030
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
11.19: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
1.88: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
##31249E
Display P3
Display P3
color(display-p3 0.1842 0.1432 0.5953)
P3 has visible headroomOKLCH chroma 0.185

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