#040cf0 ≈ Blue
#040cf0 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 4.71% green and 94.12% blue; printed in CMYK it uses 98.33% cyan, 95% magenta, 0% yellow and 5.88% black. Its hue angle is 237.97°, with 96.72% saturation and 47.84% 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.07:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 1.64.
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.0658 |
Shades
#040cf0 mixed progressively with black.
Tints
#040cf0 mixed progressively with white.
Tones
#040cf0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040cf0 {
color: #040cf0;
}
.bg-040cf0 {
background-color: #040cf0;
color: #ffffff;
}
.border-040cf0 {
border: 2px solid #040cf0;
}
:root {
--color-primary: #040cf0;
--color-primary-rgb: 4 12 240;
--color-primary-hsl: 238 97% 48%;
}
.gradient-040cf0 {
background: linear-gradient(135deg, #040cf0, #7204f0);
}
.shadow-040cf0 {
box-shadow: 0 8px 24px rgb(4 12 240 / 0.35);
}
Blue
#040cf0 rgb(4, 12, 240) hsl(238, 97%, 48%) Blue
#f0e804 rgb(240, 232, 4) hsl(58, 97%, 48%) Titanium Yellow
#f0040c rgb(240, 4, 12) hsl(358, 97%, 48%) Lust
#0cf004 rgb(12, 240, 4) hsl(118, 97%, 48%) Lime