# Midnight Blue color guide

> Midnight Blue is #191970 (rgb(25, 25, 112)). Pairings, WCAG contrast, harmonies, shades and tints for midnight blue.

Source: https://www.linearity.io/academy/colors/midnight-blue/

#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 white 14.85:1 AAA

Sample

White text on midnight blue 14.85:1 AAA

Sample

Midnight Blue text on black 1.41:1 Fail

Sample

Black text on midnight blue 1.41:1 Fail

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](https://www.linearity.io/tools/contrast-checker/).

## Colors that go with midnight blue

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

[Gold#FFD700](https://www.linearity.io/academy/colors/gold/)[Lavender#E6E6FA](https://www.linearity.io/academy/colors/lavender/)[White#FFFFFF](https://www.linearity.io/academy/colors/white/)

## 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

[Navy Blue#000080](https://www.linearity.io/academy/colors/navy-blue/)[Royal Blue#4169E1](https://www.linearity.io/academy/colors/royal-blue/)[Sky Blue#87CEEB](https://www.linearity.io/academy/colors/sky-blue/)[Cobalt#0047AB](https://www.linearity.io/academy/colors/cobalt/)[Teal#008080](https://www.linearity.io/academy/colors/teal/)[Powder Blue#B0E0E6](https://www.linearity.io/academy/colors/powder-blue/)

## Try it now. Turn any idea into a design.

Free to start. No credit card required. [See pricing](https://www.linearity.io/pricing/)

---
From https://www.linearity.io. An index of the site for AI agents is at https://www.linearity.io/llms.txt
