设计预览
颜色详情
01主色
对比度Aa 20.0Aa 1.1
02辅助色
对比度Aa 7.2Aa 2.9
03强调色
对比度Aa 4.8Aa 4.3
04背景色
对比度Aa 1.7Aa 12.1
使用这套配色
CSS 变量
:root {
--sapphire-night-1: #000033;
--sapphire-night-2: #0F52BA;
--sapphire-night-3: #4169E1;
--sapphire-night-4: #87CEEB;
}Tailwind 颜色
module.exports = {
theme: {
extend: {
colors: {
'sapphire-night': {
100: '#000033',
200: '#0F52BA',
300: '#4169E1',
400: '#87CEEB',
},
},
},
},
};无障碍配色组合
本配色中满足 WCAG AA 普通文字标准(4.5:1)的文字与背景组合。
- Aa #000033 / #87CEEB 11.5:1
- Aa #87CEEB / #000033 11.5:1
配色中的命名颜色
每个色块最接近的 CSS 命名颜色。