Website Color Palette
One deep anchor for headings and CTAs, one light surface, and white — a text-safe website palette where every element keeps WCAG AA contrast. Anchors: #1B2A4A, #F5F5F5, #FFFFFF.
websiteuiprofessional
#1B2A4A
#F5F5F5
#FFFFFF
#9397A9
#9F9EA2
#1b2a4a #f5f5f5 #ffffff #9397a9 #9f9ea2
#1B2A4A #F5F5F5 #FFFFFF #9397A9 #9F9EA2
Semantic roles
Assigned deterministically: lightest = background, darkest = text, most saturated = primary.
| background | #FFFFFF | |
| surface | #F5F5F5 | |
| text | #1B2A4A | |
| text-muted | #9397A9 | |
| primary | #9397A9 | |
| secondary | #F5F5F5 | |
| accent | #9F9EA2 |
CSS variables
:root {
--background: #ffffff;
--surface: #f5f5f5;
--text: #1b2a4a;
--text-muted: #9397a9;
--primary: #9397a9;
--secondary: #f5f5f5;
--accent: #9f9ea2;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #1B2A4A | #F5F5F5 | #FFFFFF | #9397A9 | #9F9EA2 |
|---|---|---|---|---|---|
| #1B2A4A | 1.0 | 13.0 | 14.2 | 4.9 | 5.3 |
| #F5F5F5 | 13.0 | 1.0 | 1.1 | 2.7 | 2.4 |
| #FFFFFF | 14.2 | 1.1 | 1.0 | 2.9 | 2.7 |
| #9397A9 | 4.9 | 2.7 | 2.9 | 1.0 | 1.1 |
| #9F9EA2 | 5.3 | 2.4 | 2.7 | 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 website color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #1B2A4A, #F5F5F5, #FFFFFF, #9397A9, #9F9EA2.
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.