#342C8D
#342c8d ≈ Imperial Blue
#342c8d 属于蓝系颜色(明度:较低,饱和度:中等)。 在 RGB 模型中,它由 20.39% 红、17.25% 绿和 55.29% 蓝组成;采用 CMYK 印刷时需要 63.12% 青、68.79% 品红、0% 黄和 44.71% 黑。 在 HSL 中,它的色相角为 244.95°,饱和度为 52.43%,明度为 36.27%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 11.11:1(WCAG AAA)。 最接近的命名颜色是 Imperial Blue(#002395),ΔE 为 4.45。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0445 |
暗调
#342c8d 逐步混入黑色。
亮调
#342c8d 逐步混入白色。
灰调
#342c8d 逐步混入灰色。
清晰易读的文字
11.11:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
1.89:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-342c8d {
color: #342c8d;
}
背景
.bg-342c8d {
background-color: #342c8d;
color: #ffffff;
}
边框
.border-342c8d {
border: 2px solid #342c8d;
}
CSS 变量
:root {
--color-primary: #342c8d;
--color-primary-rgb: 52 44 141;
--color-primary-hsl: 245 52% 36%;
}
渐变
.gradient-342c8d {
background: linear-gradient(135deg, #342c8d, #642c8d);
}
彩色阴影
.shadow-342c8d {
box-shadow: 0 8px 24px rgb(52 44 141 / 0.35);
}
Imperial Blue
#342c8d rgb(52, 44, 141) hsl(245, 52%, 36%) Imperial Blue
#858d2c rgb(133, 141, 44) hsl(65, 52%, 36%) Olive
#8d342c rgb(141, 52, 44) hsl(5, 52%, 36%) Burnt Umber
#2c8d34 rgb(44, 141, 52) hsl(125, 52%, 36%) Forest Green