#040ee2 ≈ Medium Blue
#040ee2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 5.49% green and 88.63% blue; printed in CMYK it uses 98.23% cyan, 93.81% magenta, 0% yellow and 11.37% black. Its hue angle is 237.3°, with 96.52% saturation and 45.1% 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 9.69:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0583 |
Shades
#040ee2 mixed progressively with black.
Tints
#040ee2 mixed progressively with white.
Tones
#040ee2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040ee2 {
color: #040ee2;
}
.bg-040ee2 {
background-color: #040ee2;
color: #ffffff;
}
.border-040ee2 {
border: 2px solid #040ee2;
}
:root {
--color-primary: #040ee2;
--color-primary-rgb: 4 14 226;
--color-primary-hsl: 237 97% 45%;
}
.gradient-040ee2 {
background: linear-gradient(135deg, #040ee2, #6904e2);
}
.shadow-040ee2 {
box-shadow: 0 8px 24px rgb(4 14 226 / 0.35);
}
Medium Blue
#040ee2 rgb(4, 14, 226) hsl(237, 97%, 45%) Medium Blue
#e2d804 rgb(226, 216, 4) hsl(57, 97%, 45%) Dandelion
#e2040e rgb(226, 4, 14) hsl(357, 97%, 45%) Lust
#0ee204 rgb(14, 226, 4) hsl(117, 97%, 45%) Lime Green