Midnight Blue #191970
Midnight Blue color codes
Midnight Blue color meaning
Midnight Blue is a deep and serious blue — a cool color at 27% lightness and 64% saturation. Like other blues, it is linked with trust, calm and dependability. It is the most widely liked color, which is why banks, tech companies and healthcare brands lean on it.
Because it is deep and serious, midnight blue works best for text, headings, luxury branding, accent walls and evening wear. It is dark enough to use for text on a white page (14.8:1 contrast).
What colors go with Midnight Blue?
Midnight Blue pairs well with Dark Olive Green, Dark Slate Blue, Indigo and Linen: Dark Olive Green sits close to its opposite on the color wheel for strong contrast, Dark Slate Blue and Indigo are neighbors that keep a scheme calm, and Linen gives the eye somewhere to rest.
Build a full scheme around midnight blue in the color matcher, blend it with another color in the color mixer, or copy ready-made HTML and CSS from the HTML color picker.
Midnight Blue at a glance
| Color family | Blue · cool, deep and serious |
|---|---|
| CSS color name | Yes — midnightblue works in CSS |
| As text on white | 14.85:1 — passes WCAG AAA |
| Best text on it | White (14.85:1) |
| For print (CMYK) | 78% cyan, 78% magenta, 0% yellow, 56% black |
| Full screen | Open the midnight blue screen — fill your display or download it in 4K |
Contrast
Contrast ratio of Midnight Blue against white and black text (WCAG 2.1 needs 4.5:1 for body text).
Shades, tints & tones
Color harmonies
Colors similar to Midnight Blue
Midnight Blue color FAQ
What is the hex code for Midnight Blue?
Midnight Blue is #191970, which is rgb(25, 25, 112) and hsl(240, 64%, 27%). For print it is roughly C78 M78 Y0 K56.
What colors go with Midnight Blue?
Midnight Blue pairs well with Dark Olive Green, Dark Slate Blue, Indigo, Linen. Dark Olive Green gives the strongest contrast, being close to its complementary color. Neutrals such as Linen also work well alongside it.
Is Midnight Blue a warm or cool color?
Midnight Blue is a cool color: its hue is 240°, on the green, blue and violet side of the color wheel.
What text color looks best on Midnight Blue?
White text, with a contrast ratio of 14.8:1, which meets WCAG AA for normal text. Midnight Blue itself is also readable as text on white (14.8:1).