colors
Back to gallery

Imperial Midnight

#5276dc
Notes

Imperial Midnight (#5276DC) 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°, 66%, 59%) 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 amber. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#5276dc
RGB
rgb(82, 118, 220)
HSL
hsl(224, 66%, 59%)
HWB
hwb(224 32% 14%)
OKLCH
oklch(59.1% 0.161 266.8)
HSV
hsv(224, 63%, 86%)
LAB
lab(51.74% 19.01 -56.09)
LCH
lch(51.74% 59.23 288.72)
CMYK
cmyk(63%, 46%, 0%, 14%)

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.

#5276dc
Original
#4382e0
Protanopia
#2b75da
Deuteranopia
#008d9e
Tritanopia
#767676
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).
AA Largeon White
4.21: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).
AAon Black
4.98:1

Related Colors

Canvas