#040ffa ≈ Blue
#040ffa 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 98.04% blue; printed in CMYK it uses 98.4% cyan, 94% magenta, 0% yellow and 1.96% black. Its hue angle is 237.32°, with 96.85% saturation and 49.8% 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.56:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 0.74.
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.0727 |
Shades
#040ffa mixed progressively with black.
Tints
#040ffa mixed progressively with white.
Tones
#040ffa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040ffa {
color: #040ffa;
}
.bg-040ffa {
background-color: #040ffa;
color: #ffffff;
}
.border-040ffa {
border: 2px solid #040ffa;
}
:root {
--color-primary: #040ffa;
--color-primary-rgb: 4 15 250;
--color-primary-hsl: 237 97% 50%;
}
.gradient-040ffa {
background: linear-gradient(135deg, #040ffa, #7404fa);
}
.shadow-040ffa {
box-shadow: 0 8px 24px rgb(4 15 250 / 0.35);
}
Blue
#040ffa rgb(4, 15, 250) hsl(237, 97%, 50%) Blue
#faef04 rgb(250, 239, 4) hsl(57, 97%, 50%) Aureolin
#fa040f rgb(250, 4, 15) hsl(357, 97%, 50%) Red
#0ffa04 rgb(15, 250, 4) hsl(117, 97%, 50%) Lime