Blue Color Palette
Blue Color Palette built around #0000FF, a dark cool blue anchor (WCAG contrast 2.44: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 | #C6C639 | |
| surface | #CDA6FF | |
| text | #0000A3 | |
| text-muted | #0000FF | |
| primary | #0000FF | |
| secondary | #CDA6FF | |
| accent | #502BFF |
CSS variables
:root {
--background: #c6c639;
--surface: #cda6ff;
--text: #0000a3;
--text-muted: #0000ff;
--primary: #0000ff;
--secondary: #cda6ff;
--accent: #502bff;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #0000FF | #CDA6FF | #0000A3 | #C6C639 | #502BFF |
|---|---|---|---|---|---|
| #0000FF | 1.0 | 4.3 | 1.6 | 4.7 | 1.3 |
| #CDA6FF | 4.3 | 1.0 | 6.9 | 1.1 | 3.4 |
| #0000A3 | 1.6 | 6.9 | 1.0 | 7.5 | 2.0 |
| #C6C639 | 4.7 | 1.1 | 7.5 | 1.0 | 3.7 |
| #502BFF | 1.3 | 3.4 | 2.0 | 3.7 | 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 blue color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #0000FF, #CDA6FF, #0000A3, #C6C639, #502BFF.
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.