Sapphire Color Palette
Sapphire Color Palette built around #0F52BA, a dark cool blue anchor (WCAG contrast 2.94: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 | #B6BBF3 | |
| surface | #946F35 | |
| text | #002C71 | |
| text-muted | #0F52BA | |
| primary | #0F52BA | |
| secondary | #946F35 | |
| accent | #3F61C1 |
CSS variables
:root {
--background: #b6bbf3;
--surface: #946f35;
--text: #002c71;
--text-muted: #0f52ba;
--primary: #0f52ba;
--secondary: #946f35;
--accent: #3f61c1;
}Accessibility matrix
Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).
| Text \ BG | #0F52BA | #B6BBF3 | #002C71 | #946F35 | #3F61C1 |
|---|---|---|---|---|---|
| #0F52BA | 1.0 | 3.9 | 1.8 | 1.6 | 1.3 |
| #B6BBF3 | 3.9 | 1.0 | 7.1 | 2.5 | 3.1 |
| #002C71 | 1.8 | 7.1 | 1.0 | 2.9 | 2.3 |
| #946F35 | 1.6 | 2.5 | 2.9 | 1.0 | 1.2 |
| #3F61C1 | 1.3 | 3.1 | 2.3 | 1.2 | 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 sapphire color palette in CSS?
Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #0F52BA, #B6BBF3, #002C71, #946F35, #3F61C1.
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.