#040fc7 ≈ Medium Blue
#040fc7 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 1.57% red, 5.88% green and 78.04% blue; printed in CMYK it uses 97.99% cyan, 92.46% magenta, 0% yellow and 21.96% black. Its hue angle is 236.62°, with 96.06% saturation and 39.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 11.06:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.14.
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.0449 |
Shades
#040fc7 mixed progressively with black.
Tints
#040fc7 mixed progressively with white.
Tones
#040fc7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040fc7 {
color: #040fc7;
}
.bg-040fc7 {
background-color: #040fc7;
color: #ffffff;
}
.border-040fc7 {
border: 2px solid #040fc7;
}
:root {
--color-primary: #040fc7;
--color-primary-rgb: 4 15 199;
--color-primary-hsl: 237 96% 40%;
}
.gradient-040fc7 {
background: linear-gradient(135deg, #040fc7, #5b04c7);
}
.shadow-040fc7 {
box-shadow: 0 8px 24px rgb(4 15 199 / 0.35);
}
Medium Blue
#040fc7 rgb(4, 15, 199) hsl(237, 96%, 40%) Medium Blue
#c7bc04 rgb(199, 188, 4) hsl(57, 96%, 40%) Old Gold
#c7040f rgb(199, 4, 15) hsl(357, 96%, 40%) Venetian Red
#0fc704 rgb(15, 199, 4) hsl(117, 96%, 40%) Lime Green