Darkblue Color Palette
Darkblue Color Palette built around #00008B, a dark cool blue anchor (WCAG contrast 1.37: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.
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #B69CE3 | |
| surface | #6C6C1F | |
| text | #05015D | |
| text-muted | #00008B | |
| primary | #00008B | |
| secondary | #6C6C1F | |
| accent | #361D97 |
CSS variables
:root {
--background: #b69ce3;
--surface: #6c6c1f;
--text: #05015d;
--text-muted: #00008b;
--primary: #00008b;
--secondary: #6c6c1f;
--accent: #361d97;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #00008B | #B69CE3 | #05015D | #6C6C1F | #361D97 |
|---|---|---|---|---|---|
| #00008B | 1.0 | 6.5 | 1.2 | 2.8 | 1.3 |
| #B69CE3 | 6.5 | 1.0 | 7.6 | 2.3 | 5.0 |
| #05015D | 1.2 | 7.6 | 1.0 | 3.3 | 1.5 |
| #6C6C1F | 2.8 | 2.3 | 3.3 | 1.0 | 2.1 |
| #361D97 | 1.3 | 5.0 | 1.5 | 2.1 | 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 darkblue color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #00008B, #B69CE3, #05015D, #6C6C1F, #361D97.
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.