Color Palettes

Midnight blue color

A very dark blue, like a moonless night sky. It's a softer alternative to black. It's used for evening wear, bedrooms and elegant backgrounds.

The hex code for midnight blue is #191970. In RGB it is rgb(25, 25, 112), in HSL hsl(240, 64%, 27%) and in CMYK 78, 78, 0, 56.

See it in real life

Pick a color to pair it with and see how it looks on clothes, interiors and design.

Colors similar to midnight blue

Deep blue#0A2472Rebecca purple#663399Klein blue#002FA7Indigo#4B0082Cobalt blue#0047ABViolet blue#324AB2

About midnight blue

Midnight blue (#191970) is a cool, dark, moderately saturated color. It belongs to the blues family. It mixes 25 red, 25 green and 112 blue (out of 255). It is mostly used in fashion, home decor, events.

Swatch of Midnight blue with its shades from light to dark · #191970
Midnight blue · #191970

Midnight blue shades and tints

From lightest to darkest. Tap a shade to copy its code.

See all its shades: Color shades generator

Outfit colors by season and style80 palettes for men and women, each with 8 outfits to copy: quiet luxury, beach, mountain, office and more.See outfit palettes

Midnight blue color harmonies

Combinations based on the color wheel. More in the color harmony tool.

ComplementaryClose to: Hazel
AnalogousClose to: Ink blue
TriadicClose to: Rosewood, Deep green
Split complementaryClose to: Sepia, Avocado

Midnight blue color palettes

Copy the codes or open a palette in the editor to tweak it.

Monochromatic palette · Midnight blue
Analogous palette · Midnight blue
Complementary palette · Midnight blue
Triadic palette · Midnight blue
With neutrals palette · Midnight blue
With an accent palette · Midnight blue

Midnight blue contrast with text

White textContrast 14.8:1 · AAA
Black textContrast 1.4:1 · Not recommended

Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.

CSS code

:root {
  --midnight-blue: #191970;
  --midnight-blue-rgb: 25, 25, 112;
}
.bg { background-color: var(--midnight-blue); }
.text { color: var(--midnight-blue); }

Colors similar to midnight blue

Navy blueUltramarineSapphire blueDark blue

Where you'll see this color

CubaFlagsVisaBrandsLouisianaState flagsBaltimore RavensTeam colorsVenezuelaFlagsCharlotte HornetsTeam colorsPhoenix SunsTeam colors

Themed palettes with this color

More blues

BlueNavy blueSky blueCobalt blueSapphire blueSteel blueRoyal blueElectric blueUltramarineFrench bluePrussian bluePastel blueBaby blueDenim blueKlein blueDark blueLight blueCeruleanPeriwinkleDusty bluePowder blueCornflower blueSlate blueCarolina blue
Swatch of Midnight blue with its shades from light to dark · #191970
Swatch of Midnight blue with its shades from light to dark · #191970

Try this next

Name color paletteType a name and get your own color story paletteSelfie color analysisFind your season and best colors from one photoWhat color is your voice?Speak for 5 seconds and turn your voice into a color
See all free tools →

Frequently asked questions

What is the hex code for midnight blue?

The hex code for midnight blue is #191970. In RGB it is rgb(25, 25, 112), in HSL hsl(240, 64%, 27%) and in CMYK 78, 78, 0, 56.

What is the complementary color of midnight blue?

Its complement on the color wheel is #707019, close to hazel. Used in small doses, it works as an accent and adds strong contrast.

Can you use white text on midnight blue?

Yes. The contrast with white is 14.8:1, enough for body text (WCAG AA).

See all shades of blue →
Open in the color picker →