#042fb2 ≈ Egyptian Blue
#042fb2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 18.43% green and 69.8% blue; printed in CMYK it uses 97.75% cyan, 73.6% magenta, 0% yellow and 30.2% black. Its hue angle is 225.17°, with 95.6% saturation and 35.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 10.22:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0527 |
Shades
#042fb2 mixed progressively with black.
Tints
#042fb2 mixed progressively with white.
Tones
#042fb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-042fb2 {
color: #042fb2;
}
.bg-042fb2 {
background-color: #042fb2;
color: #ffffff;
}
.border-042fb2 {
border: 2px solid #042fb2;
}
:root {
--color-primary: #042fb2;
--color-primary-rgb: 4 47 178;
--color-primary-hsl: 225 96% 36%;
}
.gradient-042fb2 {
background: linear-gradient(135deg, #042fb2, #3004b2);
}
.shadow-042fb2 {
box-shadow: 0 8px 24px rgb(4 47 178 / 0.35);
}
Egyptian Blue
#042fb2 rgb(4, 47, 178) hsl(225, 96%, 36%) Egyptian Blue
#b28704 rgb(178, 135, 4) hsl(45, 96%, 36%) Dark Goldenrod
#b2042f rgb(178, 4, 47) hsl(345, 96%, 36%) Vivid Burgundy
#2fb204 rgb(47, 178, 4) hsl(105, 96%, 36%) Kelly Green