Denim Color Palette
Denim Color Palette built around #1560BD, a dark cool blue anchor (WCAG contrast 3.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 | #B6C1F2 | |
| surface | #976E3B | |
| text | #003371 | |
| text-muted | #1560BD | |
| primary | #1560BD | |
| secondary | #976E3B | |
| accent | #416EC4 |
CSS variables
:root {
--background: #b6c1f2;
--surface: #976e3b;
--text: #003371;
--text-muted: #1560bd;
--primary: #1560bd;
--secondary: #976e3b;
--accent: #416ec4;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #1560BD | #B6C1F2 | #003371 | #976E3B | #416EC4 |
|---|---|---|---|---|---|
| #1560BD | 1.0 | 3.5 | 2.0 | 1.3 | 1.2 |
| #B6C1F2 | 3.5 | 1.0 | 7.0 | 2.6 | 2.8 |
| #003371 | 2.0 | 7.0 | 1.0 | 2.7 | 2.5 |
| #976E3B | 1.3 | 2.6 | 2.7 | 1.0 | 1.1 |
| #416EC4 | 1.2 | 2.8 | 2.5 | 1.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 denim color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #1560BD, #B6C1F2, #003371, #976E3B, #416EC4.
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.