#040ff6 ≈ Blue
#040ff6 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 96.47% blue; printed in CMYK it uses 98.37% cyan, 93.9% magenta, 0% yellow and 3.53% black. Its hue angle is 237.27°, with 96.8% saturation and 49.02% 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.73:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.
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.0702 |
Shades
#040ff6 mixed progressively with black.
Tints
#040ff6 mixed progressively with white.
Tones
#040ff6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040ff6 {
color: #040ff6;
}
.bg-040ff6 {
background-color: #040ff6;
color: #ffffff;
}
.border-040ff6 {
border: 2px solid #040ff6;
}
:root {
--color-primary: #040ff6;
--color-primary-rgb: 4 15 246;
--color-primary-hsl: 237 97% 49%;
}
.gradient-040ff6 {
background: linear-gradient(135deg, #040ff6, #7204f6);
}
.shadow-040ff6 {
box-shadow: 0 8px 24px rgb(4 15 246 / 0.35);
}
Blue
#040ff6 rgb(4, 15, 246) hsl(237, 97%, 49%) Blue
#f6eb04 rgb(246, 235, 4) hsl(57, 97%, 49%) Aureolin
#f6040f rgb(246, 4, 15) hsl(357, 97%, 49%) Red
#0ff604 rgb(15, 246, 4) hsl(117, 97%, 49%) Lime