HueWiz / Colors / Midnightblue
#191970

Midnightblue

Midnightblue is a rich, strongly saturated, dark cool blue (#191970).

Build palettes with Midnightblue →

Using Midnightblue in your designs

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.

Midnightblue color palettes

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.

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Monochromatic

Tints and shades of Midnightblue

Tints mix midnightblue toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.

Shades → base → tints

Contrast & accessibility

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).

PairingRatioNormal textLarge text
White text on Midnightblue14.85:1AAAAAA
Black text on Midnightblue1.41:1FailFail
Protanopia#19195B
Deuteranopia#191956
Tritanopia#194A47

Midnightblue in code

Copy-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',
  },
}

Colors similar to Midnightblue

The closest CSS named colors by perceptual (Lab) distance.

← PreviousmediumvioletredNext →mintcream
Copied