#304ef2 ≈ Majorelle Blue
#304ef2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 30.59% green and 94.9% blue; printed in CMYK it uses 80.17% cyan, 67.77% magenta, 0% yellow and 5.1% black. Its hue angle is 230.72°, with 88.18% saturation and 56.86% 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:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.1.
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.1249 |
Shades
#304ef2 mixed progressively with black.
Tints
#304ef2 mixed progressively with white.
Tones
#304ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304ef2 {
color: #304ef2;
}
.bg-304ef2 {
background-color: #304ef2;
color: #ffffff;
}
.border-304ef2 {
border: 2px solid #304ef2;
}
:root {
--color-primary: #304ef2;
--color-primary-rgb: 48 78 242;
--color-primary-hsl: 231 88% 57%;
}
.gradient-304ef2 {
background: linear-gradient(135deg, #304ef2, #7330f2);
}
.shadow-304ef2 {
box-shadow: 0 8px 24px rgb(48 78 242 / 0.35);
}
Majorelle Blue
#304ef2 rgb(48, 78, 242) hsl(231, 88%, 57%) Majorelle Blue
#f2d430 rgb(242, 212, 48) hsl(51, 88%, 57%) Banana Yellow
#f2304e rgb(242, 48, 78) hsl(351, 88%, 57%) Folly
#4ef230 rgb(78, 242, 48) hsl(111, 88%, 57%) Neon Green