Mediumblue Color Palette

Mediumblue Color Palette built around #0000CD, a dark cool blue anchor (WCAG contrast 1.88: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.

bluevividcool
#0000CD
#C4A2FF
#000085
#9F9F2E
#4525D3
#0000cd #c4a2ff #000085 #9f9f2e #4525d3
#0000CD #C4A2FF #000085 #9F9F2E #4525D3

Semantic roles

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

background#C4A2FF
surface#9F9F2E
text#000085
text-muted#0000CD
primary#0000CD
secondary#9F9F2E
accent#4525D3

CSS variables

:root {
  --background: #c4a2ff;
  --surface: #9f9f2e;
  --text: #000085;
  --text-muted: #0000cd;
  --primary: #0000cd;
  --secondary: #9f9f2e;
  --accent: #4525d3;
}
Preview in UIs →

Accessibility matrix

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

Text \ BG#0000CD#C4A2FF#000085#9F9F2E#4525D3
#0000CD
1.0
5.3
1.4
4.0
1.3
#C4A2FF
5.3
1.0
7.4
1.3
4.0
#000085
1.4
7.4
1.0
5.6
1.8
#9F9F2E
4.0
1.3
5.6
1.0
3.0
#4525D3
1.3
4.0
1.8
3.0
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 mediumblue color palette in CSS?

Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #0000CD, #C4A2FF, #000085, #9F9F2E, #4525D3.

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.