Midnight Blue color guide

#191970
HEX
#191970
RGB
rgb(25, 25, 112)
HSL
hsl(240, 64%, 27%)
CMYK
cmyk(78%, 78%, 0%, 56%)

Navy with the lights turned down — deep enough to behave as a near-black while keeping a visible hue at large sizes.

Best for
Dark mode surfaces that should not read as pure grey.

Accessibility

Sample
Midnight Blue text on white14.85:1AAA
Sample
White text on midnight blue14.85:1AAA
Sample
Midnight Blue text on black1.41:1Fail
Sample
Black text on midnight blue1.41:1Fail

Ratios follow WCAG 2.1. AA needs 4.5:1 for body text, AAA needs 7:1; large text passes AA at 3:1. To test midnight blue against any other color, use the color contrast checker.

Colors that go with midnight blue

Combinations that hold up in a real layout rather than only on the colour wheel.

Midnight Blue color harmonies

Complementary
The opposite hue — highest contrast, best used sparingly.
#191970 #717119
Analogous
Neighbouring hues that sit together calmly.
#194571 #191970 #451971
Triadic
Three evenly spaced hues — vivid but balanced.
#191970 #711919 #197119
Split complementary
Softer than complementary, with the same tension.
#191970 #714519 #457119

Midnight Blue shades and tints

The same hue and saturation across ten lightness steps — the basis of a usable colour ramp in a design system.

#EAEAFA#C0C0F1#9696E8#6D6DDF#4343D6#2929BC#202092#171769#0E0E3F#070721

Midnight Blue FAQ

What is the hex code for midnight blue?

Midnight Blue is #191970. In other formats that is rgb(25, 25, 112), hsl(240, 64%, 27%), and approximately cmyk(78%, 78%, 0%, 56%) for print.

What colors go with midnight blue?

Gold, Lavender, White all pair well with midnight blue. Dark mode surfaces that should not read as pure grey.

Is midnight blue accessible for text?

Yes — midnight blue text on white reaches 14.85:1, which passes WCAG AA for body text.

Should text on midnight blue be black or white?

Use white text. It gives the higher contrast ratio of the two against #191970.

More blue colors

Try it now. Turn any idea into a design.

Free to start. No credit card required. See pricing