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