Design preview
Color details
01Primary
ContrastAa 20.0Aa 1.1
02Secondary
ContrastAa 7.2Aa 2.9
03Accent
ContrastAa 4.8Aa 4.3
04Background
ContrastAa 1.7Aa 12.1
Use this palette
CSS variables
:root {
--sapphire-night-1: #000033;
--sapphire-night-2: #0F52BA;
--sapphire-night-3: #4169E1;
--sapphire-night-4: #87CEEB;
}Tailwind colors
module.exports = {
theme: {
extend: {
colors: {
'sapphire-night': {
100: '#000033',
200: '#0F52BA',
300: '#4169E1',
400: '#87CEEB',
},
},
},
},
};Accessible color pairs
Text and background combinations from this palette that meet WCAG AA (4.5:1) for normal text.
- Aa #000033 / #87CEEB 11.5:1
- Aa #87CEEB / #000033 11.5:1
Named colors in this palette
The closest CSS named color to each swatch.