#040ef7 ≈ Blue
#040ef7 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 96.86% blue; printed in CMYK it uses 98.38% cyan, 94.33% magenta, 0% yellow and 3.14% black. Its hue angle is 237.53°, with 96.81% saturation and 49.22% 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.71:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.89.
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.0706 |
Shades
#040ef7 mixed progressively with black.
Tints
#040ef7 mixed progressively with white.
Tones
#040ef7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040ef7 {
color: #040ef7;
}
.bg-040ef7 {
background-color: #040ef7;
color: #ffffff;
}
.border-040ef7 {
border: 2px solid #040ef7;
}
:root {
--color-primary: #040ef7;
--color-primary-rgb: 4 14 247;
--color-primary-hsl: 238 97% 49%;
}
.gradient-040ef7 {
background: linear-gradient(135deg, #040ef7, #7404f7);
}
.shadow-040ef7 {
box-shadow: 0 8px 24px rgb(4 14 247 / 0.35);
}
Blue
#040ef7 rgb(4, 14, 247) hsl(238, 97%, 49%) Blue
#f7ed04 rgb(247, 237, 4) hsl(58, 97%, 49%) Aureolin
#f7040e rgb(247, 4, 14) hsl(358, 97%, 49%) Red
#0ef704 rgb(14, 247, 4) hsl(118, 97%, 49%) Lime