#240EA2
#240ea2 ≈ Zaffre
#240ea2 属于蓝系颜色(明度:较低,饱和度:较高)。 在 RGB 模型中,它由 14.12% 红、5.49% 绿和 63.53% 蓝组成;采用 CMYK 印刷时需要 77.78% 青、91.36% 品红、0% 黄和 36.47% 黑。 在 HSL 中,它的色相角为 248.92°,饱和度为 84.09%,明度为 34.51%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和企业形象。 在此颜色上使用白色文字时,对比度为 12.65:1(WCAG AAA)。 最接近的命名颜色是 Zaffre(#0014a8),ΔE 为 1.89。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.033 |
暗调
#240ea2 逐步混入黑色。
亮调
#240ea2 逐步混入白色。
灰调
#240ea2 逐步混入灰色。
清晰易读的文字
12.65:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
1.66:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-240ea2 {
color: #240ea2;
}
背景
.bg-240ea2 {
background-color: #240ea2;
color: #ffffff;
}
边框
.border-240ea2 {
border: 2px solid #240ea2;
}
CSS 变量
:root {
--color-primary: #240ea2;
--color-primary-rgb: 36 14 162;
--color-primary-hsl: 249 84% 35%;
}
渐变
.gradient-240ea2 {
background: linear-gradient(135deg, #240ea2, #6e0ea2);
}
彩色阴影
.shadow-240ea2 {
box-shadow: 0 8px 24px rgb(36 14 162 / 0.35);
}
Zaffre
#240ea2 rgb(36, 14, 162) hsl(249, 84%, 35%) Zaffre
#8ca20e rgb(140, 162, 14) hsl(69, 84%, 35%) Apple Green
#a2240e rgb(162, 36, 14) hsl(9, 84%, 35%) Rufous
#0ea224 rgb(14, 162, 36) hsl(129, 84%, 35%) Islamic Green