#2D64EC
#2d64ec ≈ Royal Blue
#2d64ec 属于蓝系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 17.65% 红、39.22% 绿和 92.55% 蓝组成;采用 CMYK 印刷时需要 80.93% 青、57.63% 品红、0% 黄和 7.45% 黑。 在 HSL 中,它的色相角为 222.72°,饱和度为 83.41%,明度为 55.1%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和行动号召按钮。 在此颜色上使用白色文字时,对比度为 5.07:1(WCAG AA)。 最接近的命名颜色是 Royal Blue(#4169e1),ΔE 为 2.12。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1573 |
暗调
#2d64ec 逐步混入黑色。
亮调
#2d64ec 逐步混入白色。
灰调
#2d64ec 逐步混入灰色。
清晰易读的文字
5.07:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
4.15:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-2d64ec {
color: #2d64ec;
}
背景
.bg-2d64ec {
background-color: #2d64ec;
color: #ffffff;
}
边框
.border-2d64ec {
border: 2px solid #2d64ec;
}
CSS 变量
:root {
--color-primary: #2d64ec;
--color-primary-rgb: 45 100 236;
--color-primary-hsl: 223 83% 55%;
}
渐变
.gradient-2d64ec {
background: linear-gradient(135deg, #2d64ec, #552dec);
}
彩色阴影
.shadow-2d64ec {
box-shadow: 0 8px 24px rgb(45 100 236 / 0.35);
}
Royal Blue
#2d64ec rgb(45, 100, 236) hsl(223, 83%, 55%) Royal Blue
#ecb52d rgb(236, 181, 45) hsl(43, 83%, 55%) Meat Brown
#ec2d64 rgb(236, 45, 100) hsl(343, 83%, 55%) Cerise
#64ec2d rgb(100, 236, 45) hsl(103, 83%, 55%) Harlequin