#5151fa ≈ Majorelle Blue
#5151fa is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 31.76% red, 31.76% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 67.6% magenta, 0% yellow and 1.96% black. Its hue angle is 240°, with 94.41% saturation and 64.9% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.37:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 3.92.
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.1454 |
Shades
#5151fa mixed progressively with black.
Tints
#5151fa mixed progressively with white.
Tones
#5151fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5151fa {
color: #5151fa;
}
.bg-5151fa {
background-color: #5151fa;
color: #ffffff;
}
.border-5151fa {
border: 2px solid #5151fa;
}
:root {
--color-primary: #5151fa;
--color-primary-rgb: 81 81 250;
--color-primary-hsl: 240 94% 65%;
}
.gradient-5151fa {
background: linear-gradient(135deg, #5151fa, #a551fa);
}
.shadow-5151fa {
box-shadow: 0 8px 24px rgb(81 81 250 / 0.35);
}
Majorelle Blue
#5151fa rgb(81, 81, 250) hsl(240, 94%, 65%) Majorelle Blue
#fafa51 rgb(250, 250, 81) hsl(60, 94%, 65%) Icterine
#fa5151 rgb(250, 81, 81) hsl(0, 94%, 65%) Pastel Red
#51fa51 rgb(81, 250, 81) hsl(120, 94%, 65%) Neon Green