#5157ea ≈ Majorelle Blue
#5157ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 31.76% red, 34.12% green and 91.76% blue; printed in CMYK it uses 65.38% cyan, 62.82% magenta, 0% yellow and 8.24% black. Its hue angle is 237.65°, with 78.46% saturation and 61.76% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 5.38:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1451 |
Shades
#5157ea mixed progressively with black.
Tints
#5157ea mixed progressively with white.
Tones
#5157ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5157ea {
color: #5157ea;
}
.bg-5157ea {
background-color: #5157ea;
color: #ffffff;
}
.border-5157ea {
border: 2px solid #5157ea;
}
:root {
--color-primary: #5157ea;
--color-primary-rgb: 81 87 234;
--color-primary-hsl: 238 78% 62%;
}
.gradient-5157ea {
background: linear-gradient(135deg, #5157ea, #9751ea);
}
.shadow-5157ea {
box-shadow: 0 8px 24px rgb(81 87 234 / 0.35);
}
Majorelle Blue
#5157ea rgb(81, 87, 234) hsl(238, 78%, 62%) Majorelle Blue
#eae451 rgb(234, 228, 81) hsl(58, 78%, 62%) Dandelion
#ea5157 rgb(234, 81, 87) hsl(358, 78%, 62%) Indian Red
#57ea51 rgb(87, 234, 81) hsl(118, 78%, 62%) Malachite