#040fbe ≈ Medium Blue
#040fbe is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.57% red, 5.88% green and 74.51% blue; printed in CMYK it uses 97.89% cyan, 92.11% magenta, 0% yellow and 25.49% black. Its hue angle is 236.45°, with 95.88% saturation and 38.04% 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 11.56:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0409 |
Shades
#040fbe mixed progressively with black.
Tints
#040fbe mixed progressively with white.
Tones
#040fbe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fbe {
color: #040fbe;
}
.bg-040fbe {
background-color: #040fbe;
color: #ffffff;
}
.border-040fbe {
border: 2px solid #040fbe;
}
:root {
--color-primary: #040fbe;
--color-primary-rgb: 4 15 190;
--color-primary-hsl: 236 96% 38%;
}
.gradient-040fbe {
background: linear-gradient(135deg, #040fbe, #5604be);
}
.shadow-040fbe {
box-shadow: 0 8px 24px rgb(4 15 190 / 0.35);
}
Medium Blue
#040fbe rgb(4, 15, 190) hsl(236, 96%, 38%) Medium Blue
#beb304 rgb(190, 179, 4) hsl(56, 96%, 38%) Old Gold
#be040f rgb(190, 4, 15) hsl(356, 96%, 38%) Venetian Red
#0fbe04 rgb(15, 190, 4) hsl(116, 96%, 38%) Kelly Green