Midnight Blue Color Palette

Midnight Blue Color Palette built around #191970, a dark cool blue anchor (WCAG contrast 1.41:1 against black). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.

bluedeepdarkcool
#191970
#B0A2D4
#0F0E4A
#5C5C2D
#372D7E
#191970 #b0a2d4 #0f0e4a #5c5c2d #372d7e
#191970 #B0A2D4 #0F0E4A #5C5C2D #372D7E

Semantic roles

Assigned deterministically: lightest = background, darkest = text, most saturated = primary.

background#B0A2D4
surface#5C5C2D
text#0F0E4A
text-muted#191970
primary#191970
secondary#5C5C2D
accent#372D7E

CSS variables

:root {
  --background: #b0a2d4;
  --surface: #5c5c2d;
  --text: #0f0e4a;
  --text-muted: #191970;
  --primary: #191970;
  --secondary: #5c5c2d;
  --accent: #372d7e;
}
Preview in UIs →

Accessibility matrix

Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).

Text \ BG#191970#B0A2D4#0F0E4A#5C5C2D#372D7E
#191970
1.0
6.3
1.2
2.1
1.3
#B0A2D4
6.3
1.0
7.6
3.0
4.9
#0F0E4A
1.2
7.6
1.0
2.6
1.6
#5C5C2D
2.1
3.0
2.6
1.0
1.6
#372D7E
1.3
4.9
1.6
1.6
1.0

Under deuteranopia

Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.

Colors in this palette

Similar palettes

FAQ

How do I use the midnight blue color palette in CSS?

Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #191970, #B0A2D4, #0F0E4A, #5C5C2D, #372D7E.

Do these colors pass accessibility checks?

See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.