Midnight blue

A very dark, slightly grayish blue, and the classic alternative to black in evening wear.

Overview

Midnight blue is a very dark blue. Its web code is #191970: mostly blue, with small, equal amounts of red and green that add a touch of gray. CSS writes it as midnightblue.

The name has been used for a color in English since 1810. Merriam-Webster defines it as “a deep blackish blue”.

That is how most people picture it. Their average midnight blue in the xkcd color survey, #020035, is almost black. The web code is lighter: on screen it is even a touch lighter than navy. In clothing, midnight blue became famous in the 1920s, when the Prince of Wales introduced the midnight blue evening suit as an alternative to black.

Midnight blue works as a softer black for text, formal designs and night themes. It pairs well with gold, silver, pale blue and blush.

HEX#191970
RGBrgb(25, 25, 112)
HSLhsl(240, 64%, 27%)
HSV240°, 78%, 44%
CMYK78, 78, 0, 56
OKLCHoklch(28.8% 0.144 272.8)
Every code converts from the HEX value #191970. #191970 is the CSS keyword midnightblue, defined in the CSS Color Module Level 4. It comes from the X Window System’s color list, which set midnight blue to this value in 1989 (the 1986 list had a grayer #2F2F4F), and the W3C adopted it with the other X11 names in SVG 1.0 (2001). CMYK is a screen-based estimate; print results vary.
Midnight blue color card, hex #191970: “Burning the midnight blue”

Midnight blue on the color map

People’s average midnight blue in the xkcd survey is almost black, below the outline. The 1986 X Window value is grayer and sits inside the outline, a little above the reference and to its right. The outline is an approximate range, not a measured one.

Shades and tints

Tints with white

Shades with black

Tones with gray

Midnight blue sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.

Light and dark midnight blue

#A3A3C6
Pale midnight blueMixed 60% with white. A soft lavender gray.
#7575A9
Light midnight blueMixed 40% with white. A muted, grayish violet blue.
#191970
Midnight blueThe reference color.
#0F0F43
Dark midnight blueMixed 40% with black. Nearer to how people picture midnight blue.

Colors that go with midnight blue

Pairings that work in rooms, outfits and interfaces.

Midnight and gold

Elegant and formal, like an invitation to an evening party.

Midnight and silver

Cool and quiet. Good for tech and winter themes.

Midnight and sky blue

Dark and light blue, like dusk turning to night.

Midnight and blush

Soft pink warms a cold, dark blue.

Midnight and copper

Warm metal against deep blue. Rich and moody.

Midnight and cream

A gentler take on black and white.

Color-wheel palettes

Pick a palette to see where its colors sit on the color wheel. The caret marks midnight blue. Tap a band to copy its code.

Similar colors

Yale blue65%Oxford blue60%Navy blue73%Dark blue69%Phthalo blue74%Ultramarine72%Midnight blue

Lined up by hue around midnight blue. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.

Midnight blue vs navy blue

Midnight blue#191970 · hue 240°
  • A touch of gray, and on screen a touch lighter
  • Named after the sky at midnight
  • Pictured darker than navy by most people
Navy blue#000080 · hue 240°
  • Pure blue, with no red or green
  • Named after naval uniforms
  • One of the 16 original HTML colors

Meaning

  • Night sky
  • Evening wear
  • Royal style
  • Near-black

Midnight blue reads as calm, elegant and a little mysterious. Its best-documented meaning comes from menswear: in the 1920s it became the stylish alternative to a black evening suit, and tailors still offer the dinner jacket in black or midnight blue. Mood research tests broad hues, not midnight blue itself, so the one study cited here is about dark colors in general.

A prince’s alternative to black

Museum record

The Metropolitan Museum of Art credits the Duke of Windsor, then Prince of Wales, with introducing the midnight blue evening suit in the 1920s as an alternative to black. He wanted to soften formal wear, and in black-and-white press photos midnight blue showed details such as lapels, buttons and pockets that black hid.1

Said to look blacker than black

Tailoring lore

Menswear writers say midnight blue looks darker and richer than black under artificial light, because black can take on a greenish cast and shows dust. It is tailoring lore, not a tested finding.2

Dark colors feel more dominant

One lab study

In a lab study, darker colors were rated more dominant and less pleasant than lighter ones. It tested color samples by brightness and saturation, not midnight blue by name.3

Sources (3)
  1. The Metropolitan Museum of Art, “Evening suit”, F. Scholte and H. Harris, 1938–65, Gift of the Duchess of Windsor, 1974 (1974.185.3a–c).
  2. Gentleman’s Gazette, “Jazz Age Tuxedo, 1920s”.
  3. Valdez, P. & Mehrabian, A. (1994). Effects of color on emotions. Journal of Experimental Psychology: General, 123(4), 394–409. doi:10.1037/0096-3445.123.4.394

History

Midnight blue is a color name from the early 1800s that became a classic of men’s evening wear in the 1900s.

  1. 1810

    First known use of “midnight blue” as a color name in English.1

  2. 1865

    The Prince of Wales, later Edward VII, asks his tailor Henry Poole for a short coat to wear at informal dinners at Sandringham. Poole shortens the tailcoat and makes it in celestial blue: an early dinner jacket.2

  3. 1920s

    The next Prince of Wales, later the Duke of Windsor, introduces the midnight blue evening suit as an alternative to black.3

  4. 1986

    An early X Window color list includes midnight blue as a grayish #2F2F4F.4

  5. 1989

    X11 Release 4 changes midnight blue to 25, 25, 112, which is today’s #191970.4

  6. 2001

    The W3C’s SVG 1.0 lists midnightblue among its color keywords, and CSS later takes up the same list.5

Sources (5)
  1. Merriam-Webster, “midnight blue”.
  2. Henry Poole & Co., “The Dinner Suit”.
  3. The Metropolitan Museum of Art, “Evening suit”, F. Scholte and H. Harris, 1938–65, Gift of the Duchess of Windsor, 1974 (1974.185.3a–c).
  4. X.Org archive: the color database rgb.txt in X10 Release 3 (1986) and X11 Release 4 (1989).
  5. W3C (2001). Scalable Vector Graphics (SVG) 1.0, recognized color keyword names.

Midnight blue in use

All brand colors
#012169
BrandingLowe's

Lowe’s blue, #012169, is a little less saturated and less purple than this page’s code, at the same lightness. It fills the house-shaped Lowe’s logo on the retailer’s website.

#012169
Source: Lowe’s site logo

Palettes are sampled in-house.

Questions

What color is midnight blue?

A very dark blue with a touch of gray. The web code is #191970 (RGB 25, 25, 112).

Is midnight blue darker than navy?

On screen, no: the CSS midnight blue, #191970, is a touch lighter than navy, #000080, and a little grayer. But most people picture midnight blue as the darker of the two, almost black.

Is midnight blue black or blue?

Blue, though a very dark one. In dim light, or on a dark suit, it can pass for black.

Why do people wear midnight blue to formal events?

The Prince of Wales introduced the midnight blue evening suit in the 1920s as an alternative to black. Tailors say it looks richer than black under artificial light.

What colors go with midnight blue?

Gold for something formal, silver for a cool look, pale sky blue for a soft contrast, and blush or copper for warmth.

Is midnight blue a CSS color?

Yes. Write midnightblue in CSS to get #191970. It came to the web from the X Window System’s color list.