#2E2AA2
#2e2aa2 ≈ Imperial Blue
#2e2aa2 属于蓝系颜色(明度:中等,饱和度:中等)。 在 RGB 模型中,它由 18.04% 红、16.47% 绿和 63.53% 蓝组成;采用 CMYK 印刷时需要 71.6% 青、74.07% 品红、0% 黄和 36.47% 黑。 在 HSL 中,它的色相角为 242°,饱和度为 58.82%,明度为 40%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 10.66:1(WCAG AAA)。 最接近的命名颜色是 Imperial Blue(#002395),ΔE 为 3.88。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0485 |
暗调
#2e2aa2 逐步混入黑色。
亮调
#2e2aa2 逐步混入白色。
灰调
#2e2aa2 逐步混入灰色。
清晰易读的文字
10.66:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
1.97:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-2e2aa2 {
color: #2e2aa2;
}
背景
.bg-2e2aa2 {
background-color: #2e2aa2;
color: #ffffff;
}
边框
.border-2e2aa2 {
border: 2px solid #2e2aa2;
}
CSS 变量
:root {
--color-primary: #2e2aa2;
--color-primary-rgb: 46 42 162;
--color-primary-hsl: 242 59% 40%;
}
渐变
.gradient-2e2aa2 {
background: linear-gradient(135deg, #2e2aa2, #6a2aa2);
}
彩色阴影
.shadow-2e2aa2 {
box-shadow: 0 8px 24px rgb(46 42 162 / 0.35);
}
Imperial Blue
#2e2aa2 rgb(46, 42, 162) hsl(242, 59%, 40%) Imperial Blue
#9ea22a rgb(158, 162, 42) hsl(62, 59%, 40%) Brass
#a22e2a rgb(162, 46, 42) hsl(2, 59%, 40%) Brown
#2aa22e rgb(42, 162, 46) hsl(122, 59%, 40%) Islamic Green