Cornflowerblue Color Palette
Cornflowerblue Color Palette built around #6495ED, a dark cool blue anchor (WCAG contrast 7.06: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 | #C9D7FF | |
| surface | #CEB383 | |
| text | #254C86 | |
| text-muted | #6495ED | |
| primary | #6495ED | |
| secondary | #CEB383 | |
| accent | #789FEF |
CSS variables
:root {
--background: #c9d7ff;
--surface: #ceb383;
--text: #254c86;
--text-muted: #6495ed;
--primary: #6495ed;
--secondary: #ceb383;
--accent: #789fef;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #6495ED | #C9D7FF | #254C86 | #CEB383 | #789FEF |
|---|---|---|---|---|---|
| #6495ED | 1.0 | 2.1 | 2.9 | 1.5 | 1.1 |
| #C9D7FF | 2.1 | 1.0 | 6.0 | 1.4 | 1.8 |
| #254C86 | 2.9 | 6.0 | 1.0 | 4.2 | 3.3 |
| #CEB383 | 1.5 | 1.4 | 4.2 | 1.0 | 1.3 |
| #789FEF | 1.1 | 1.8 | 3.3 | 1.3 | 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 cornflowerblue color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #6495ED, #C9D7FF, #254C86, #CEB383, #789FEF.
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.