#040fe6 ≈ Blue
#040fe6 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.88% green and 90.2% blue; printed in CMYK it uses 98.26% cyan, 93.48% magenta, 0% yellow and 9.8% black. Its hue angle is 237.08°, with 96.58% saturation and 45.88% 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.48:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.82.
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.0608 |
Shades
#040fe6 mixed progressively with black.
Tints
#040fe6 mixed progressively with white.
Tones
#040fe6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fe6 {
color: #040fe6;
}
.bg-040fe6 {
background-color: #040fe6;
color: #ffffff;
}
.border-040fe6 {
border: 2px solid #040fe6;
}
:root {
--color-primary: #040fe6;
--color-primary-rgb: 4 15 230;
--color-primary-hsl: 237 97% 46%;
}
.gradient-040fe6 {
background: linear-gradient(135deg, #040fe6, #6a04e6);
}
.shadow-040fe6 {
box-shadow: 0 8px 24px rgb(4 15 230 / 0.35);
}
Blue
#040fe6 rgb(4, 15, 230) hsl(237, 97%, 46%) Blue
#e6db04 rgb(230, 219, 4) hsl(57, 97%, 46%) Dandelion
#e6040f rgb(230, 4, 15) hsl(357, 97%, 46%) Lust
#0fe604 rgb(15, 230, 4) hsl(117, 97%, 46%) Lime