#042deb ≈ Blue
#042deb is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 17.65% green and 92.16% blue; printed in CMYK it uses 98.3% cyan, 80.85% magenta, 0% yellow and 7.84% black. Its hue angle is 229.35°, with 96.65% saturation and 46.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 8.14:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.21.
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.079 |
Shades
#042deb mixed progressively with black.
Tints
#042deb mixed progressively with white.
Tones
#042deb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-042deb {
color: #042deb;
}
.bg-042deb {
background-color: #042deb;
color: #ffffff;
}
.border-042deb {
border: 2px solid #042deb;
}
:root {
--color-primary: #042deb;
--color-primary-rgb: 4 45 235;
--color-primary-hsl: 229 97% 47%;
}
.gradient-042deb {
background: linear-gradient(135deg, #042deb, #4e04eb);
}
.shadow-042deb {
box-shadow: 0 8px 24px rgb(4 45 235 / 0.35);
}
Blue
#042deb rgb(4, 45, 235) hsl(229, 97%, 47%) Blue
#ebc204 rgb(235, 194, 4) hsl(49, 97%, 47%) Jonquil
#eb042d rgb(235, 4, 45) hsl(349, 97%, 47%) Cadmium Red
#2deb04 rgb(45, 235, 4) hsl(109, 97%, 47%) Lime