#191970Midnightblue is a rich, strongly saturated, dark cool blue (#191970).
At hue 240° with 64% saturation, midnightblue lands firmly in the blue family — a cool color through and through. Colors in this range are commonly associated with trust, calm and competence, which makes midnightblue a natural fit for corporate branding, links and interfaces that need to feel dependable.
With a 14.85:1 contrast ratio against white, midnightblue is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. Against black text it manages 1.41:1, so stick with white type on midnightblue surfaces.
For pairings, the complement of midnightblue sits at 60° — #717119, close to olive — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for midnightblue in the palettes below, with copy-ready codes.
Every palette below is computed from midnightblue's position on the color wheel (hue 240°). Hover any swatch to see its code; click to copy.
Tints mix midnightblue toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how midnightblue performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Midnightblue | 14.85:1 | AAA | AAA |
| Black text on Midnightblue | 1.41:1 | Fail | Fail |
#19195B#191956#194A47Copy-ready snippets. In CSS you can also use the keyword midnightblue directly.
:root {
--midnightblue: #191970;
--midnightblue-rgb: 25, 25, 112;
--midnightblue-tint: #8080B0;
--midnightblue-shade: #0E0E3E;
}
.btn-midnightblue {
background: var(--midnightblue);
color: #ffffff;
}
// tailwind.config.js
colors: {
'midnightblue': {
DEFAULT: '#191970',
light: '#8080B0',
dark: '#0E0E3E',
},
}
The closest CSS named colors by perceptual (Lab) distance.