#042fec ≈ Blue
#042fec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 18.43% green and 92.55% blue; printed in CMYK it uses 98.31% cyan, 80.08% magenta, 0% yellow and 7.45% black. Its hue angle is 228.88°, with 96.67% saturation and 47.06% 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 8.01:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0811 |
Shades
#042fec mixed progressively with black.
Tints
#042fec mixed progressively with white.
Tones
#042fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-042fec {
color: #042fec;
}
.bg-042fec {
background-color: #042fec;
color: #ffffff;
}
.border-042fec {
border: 2px solid #042fec;
}
:root {
--color-primary: #042fec;
--color-primary-rgb: 4 47 236;
--color-primary-hsl: 229 97% 47%;
}
.gradient-042fec {
background: linear-gradient(135deg, #042fec, #4d04ec);
}
.shadow-042fec {
box-shadow: 0 8px 24px rgb(4 47 236 / 0.35);
}
Blue
#042fec rgb(4, 47, 236) hsl(229, 97%, 47%) Blue
#ecc104 rgb(236, 193, 4) hsl(49, 97%, 47%) Jonquil
#ec042f rgb(236, 4, 47) hsl(349, 97%, 47%) Cadmium Red
#2fec04 rgb(47, 236, 4) hsl(109, 97%, 47%) Lime