#040EA2
#040ea2 ≈ Zaffre
#040ea2 属于蓝系颜色(明度:较低,饱和度:较高)。 在 RGB 模型中,它由 1.57% 红、5.49% 绿和 63.53% 蓝组成;采用 CMYK 印刷时需要 97.53% 青、91.36% 品红、0% 黄和 36.47% 黑。 在 HSL 中,它的色相角为 236.2°,饱和度为 95.18%,明度为 32.55%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和企业形象。 在此颜色上使用白色文字时,对比度为 13.21:1(WCAG AAA)。 最接近的命名颜色是 Zaffre(#0014a8),ΔE 为 1.22。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #000099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0295 |
暗调
#040ea2 逐步混入黑色。
亮调
#040ea2 逐步混入白色。
灰调
#040ea2 逐步混入灰色。
清晰易读的文字
13.21:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
1.59:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-040ea2 {
color: #040ea2;
}
背景
.bg-040ea2 {
background-color: #040ea2;
color: #ffffff;
}
边框
.border-040ea2 {
border: 2px solid #040ea2;
}
CSS 变量
:root {
--color-primary: #040ea2;
--color-primary-rgb: 4 14 162;
--color-primary-hsl: 236 95% 33%;
}
渐变
.gradient-040ea2 {
background: linear-gradient(135deg, #040ea2, #4904a2);
}
彩色阴影
.shadow-040ea2 {
box-shadow: 0 8px 24px rgb(4 14 162 / 0.35);
}
Zaffre
#040ea2 rgb(4, 14, 162) hsl(236, 95%, 33%) Zaffre
#a29804 rgb(162, 152, 4) hsl(56, 95%, 33%) Brass
#a2040e rgb(162, 4, 14) hsl(356, 95%, 33%) Sangria
#0ea204 rgb(14, 162, 4) hsl(116, 95%, 33%) Islamic Green