Midnight Blue #191970

#191970Midnight Blue
HEX#191970
RGBrgb(25, 25, 112)
HSLhsl(240, 64%, 27%)
HSVhsv(240, 78%, 44%)
OKLCHoklch(28.8% 0.144 272.8)
OKLABoklab(28.8% 0.007 -0.143)
CMYKcmyk(78%, 78%, 0%, 56%)

Midnight Blue (#191970) is a very dark, moderately saturated blue hue. Midnight blue is a very dark blue that can replace black for a softer dark mode.

In RGB it is made of 25 red, 25 green and 112 blue. Its HSL hue angle is 240° with 64% saturation and 27% lightness, while its perceptual OKLCH lightness is 29% with a chroma of 0.144. For print, a starting CMYK mix is 78% cyan, 78% magenta, 0% yellow and 56% black.

As a text color on white, Midnight Blue has a contrast ratio of 14.85:1, which passes WCAG AA for normal text. On black it reaches 1.41:1 and fails AA. If you use Midnight Blue as a background, put white text on it. The APCA lightness contrast is Lc 0 for black text and Lc -104 for white text.

Its perceptual complement is #352A00, close to gunmetal. Colors that look most similar are navy blue, ultramarine, indigo. It looks fairly similar to people with red-green color blindness (ΔE 3), so its meaning mostly survives.

Contrast

Text on white · 14.85:1 AA ✓
Text on black · 1.41:1 ✗
White on Midnight Blue · APCA Lc -104
Black on Midnight Blue · APCA Lc 0

Shades and tints of midnight blue

Color harmonies

ComplementaryAnalogousSplit complementaryTriadicTetradicMonochromatic

How midnight blue looks with color blindness

Protanopia: #002C73Deuteranopia: #00236ETritanopia: #003243Achromatopsia: #272727

Similar colors

Navy Blue#000080Ultramarine#120A8FIndigo#4B0082Gunmetal#2A3439Cobalt Blue#0047ABCharcoal#36454FTaupe#483C32Sapphire#0F52BA

FAQ

What is the hex code for midnight blue?

The hex code for midnight blue is #191970, which is rgb(25, 25, 112) in RGB.

What text color goes on midnight blue?

White text. Its contrast with midnight blue is 14.85:1.

What color is the complement of midnight blue?

The perceptual (OKLCH) complement of #191970 is #352A00.

← All named colors