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