#2E2A8A
#2e2a8a ≈ Imperial Blue
#2e2a8a 属于蓝系颜色(明度:较低,饱和度:中等)。 在 RGB 模型中,它由 18.04% 红、16.47% 绿和 54.12% 蓝组成;采用 CMYK 印刷时需要 66.67% 青、69.57% 品红、0% 黄和 45.88% 黑。 在 HSL 中,它的色相角为 242.5°,饱和度为 53.33%,明度为 35.29%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 11.57:1(WCAG AAA)。 最接近的命名颜色是 Imperial Blue(#002395),ΔE 为 3.79。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0407 |
暗调
#2e2a8a 逐步混入黑色。
亮调
#2e2a8a 逐步混入白色。
灰调
#2e2a8a 逐步混入灰色。
清晰易读的文字
11.57:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
1.81:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-2e2a8a {
color: #2e2a8a;
}
背景
.bg-2e2a8a {
background-color: #2e2a8a;
color: #ffffff;
}
边框
.border-2e2a8a {
border: 2px solid #2e2a8a;
}
CSS 变量
:root {
--color-primary: #2e2a8a;
--color-primary-rgb: 46 42 138;
--color-primary-hsl: 243 53% 35%;
}
渐变
.gradient-2e2a8a {
background: linear-gradient(135deg, #2e2a8a, #5e2a8a);
}
彩色阴影
.shadow-2e2a8a {
box-shadow: 0 8px 24px rgb(46 42 138 / 0.35);
}
Imperial Blue
#2e2a8a rgb(46, 42, 138) hsl(243, 53%, 35%) Imperial Blue
#868a2a rgb(134, 138, 42) hsl(63, 53%, 35%) Olive
#8a2e2a rgb(138, 46, 42) hsl(3, 53%, 35%) Burnt Umber
#2a8a2e rgb(42, 138, 46) hsl(123, 53%, 35%) Forest Green