#2a51ec ≈ Majorelle Blue
#2a51ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 31.76% green and 92.55% blue; printed in CMYK it uses 82.2% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 227.94°, with 83.62% saturation and 54.51% 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 6.02:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1243 |
Shades
#2a51ec mixed progressively with black.
Tints
#2a51ec mixed progressively with white.
Tones
#2a51ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a51ec {
color: #2a51ec;
}
.bg-2a51ec {
background-color: #2a51ec;
color: #ffffff;
}
.border-2a51ec {
border: 2px solid #2a51ec;
}
:root {
--color-primary: #2a51ec;
--color-primary-rgb: 42 81 236;
--color-primary-hsl: 228 84% 55%;
}
.gradient-2a51ec {
background: linear-gradient(135deg, #2a51ec, #642aec);
}
.shadow-2a51ec {
box-shadow: 0 8px 24px rgb(42 81 236 / 0.35);
}
Majorelle Blue
#2a51ec rgb(42, 81, 236) hsl(228, 84%, 55%) Majorelle Blue
#ecc52a rgb(236, 197, 42) hsl(48, 84%, 55%) Jonquil
#ec2a51 rgb(236, 42, 81) hsl(348, 84%, 55%) Amaranth
#51ec2a rgb(81, 236, 42) hsl(108, 84%, 55%) Neon Green