#5142EA
#5142ea ≈ Majorelle Blue
#5142ea 属于蓝系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 31.76% 红、25.88% 绿和 91.76% 蓝组成;采用 CMYK 印刷时需要 65.38% 青、71.79% 品红、0% 黄和 8.24% 黑。 在 HSL 中,它的色相角为 245.36°,饱和度为 80%,明度为 58.82%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 6.33:1(WCAG AA)。 最接近的命名颜色是 Majorelle Blue(#6050dc),ΔE 为 3.94。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1159 |
暗调
#5142ea 逐步混入黑色。
亮调
#5142ea 逐步混入白色。
灰调
#5142ea 逐步混入灰色。
清晰易读的文字
6.33:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.32:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-5142ea {
color: #5142ea;
}
背景
.bg-5142ea {
background-color: #5142ea;
color: #ffffff;
}
边框
.border-5142ea {
border: 2px solid #5142ea;
}
CSS 变量
:root {
--color-primary: #5142ea;
--color-primary-rgb: 81 66 234;
--color-primary-hsl: 245 80% 59%;
}
渐变
.gradient-5142ea {
background: linear-gradient(135deg, #5142ea, #a542ea);
}
彩色阴影
.shadow-5142ea {
box-shadow: 0 8px 24px rgb(81 66 234 / 0.35);
}
Majorelle Blue
#5142ea rgb(81, 66, 234) hsl(245, 80%, 59%) Majorelle Blue
#dbea42 rgb(219, 234, 66) hsl(65, 80%, 59%) Pear
#ea5142 rgb(234, 81, 66) hsl(5, 80%, 59%) Cinnabar
#42ea51 rgb(66, 234, 81) hsl(125, 80%, 59%) Malachite