#304fec ≈ Majorelle Blue
#304fec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 30.98% green and 92.55% blue; printed in CMYK it uses 79.66% cyan, 66.53% magenta, 0% yellow and 7.45% black. Its hue angle is 230.11°, with 83.19% saturation and 55.69% 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.08:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.14.
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.1228 |
Shades
#304fec mixed progressively with black.
Tints
#304fec mixed progressively with white.
Tones
#304fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304fec {
color: #304fec;
}
.bg-304fec {
background-color: #304fec;
color: #ffffff;
}
.border-304fec {
border: 2px solid #304fec;
}
:root {
--color-primary: #304fec;
--color-primary-rgb: 48 79 236;
--color-primary-hsl: 230 83% 56%;
}
.gradient-304fec {
background: linear-gradient(135deg, #304fec, #6f30ec);
}
.shadow-304fec {
box-shadow: 0 8px 24px rgb(48 79 236 / 0.35);
}
Majorelle Blue
#304fec rgb(48, 79, 236) hsl(230, 83%, 56%) Majorelle Blue
#eccd30 rgb(236, 205, 48) hsl(50, 83%, 56%) Jonquil
#ec304f rgb(236, 48, 79) hsl(350, 83%, 56%) Amaranth
#4fec30 rgb(79, 236, 48) hsl(110, 83%, 56%) Neon Green