#040eff ≈ Blue
#040eff 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 100% blue; printed in CMYK it uses 98.43% cyan, 94.51% magenta, 0% yellow and 0% black. Its hue angle is 237.61°, with 100% saturation and 50.78% 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.36:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0756 |
Shades
#040eff mixed progressively with black.
Tints
#040eff mixed progressively with white.
Tones
#040eff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040eff {
color: #040eff;
}
.bg-040eff {
background-color: #040eff;
color: #ffffff;
}
.border-040eff {
border: 2px solid #040eff;
}
:root {
--color-primary: #040eff;
--color-primary-rgb: 4 14 255;
--color-primary-hsl: 238 100% 51%;
}
.gradient-040eff {
background: linear-gradient(135deg, #040eff, #7704ff);
}
.shadow-040eff {
box-shadow: 0 8px 24px rgb(4 14 255 / 0.35);
}
Blue
#040eff rgb(4, 14, 255) hsl(238, 100%, 51%) Blue
#fff504 rgb(255, 245, 4) hsl(58, 100%, 51%) Cadmium Yellow
#ff040e rgb(255, 4, 14) hsl(358, 100%, 51%) Red
#0eff04 rgb(14, 255, 4) hsl(118, 100%, 51%) Lime