#040cc7 ≈ Medium Blue
#040cc7 is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 1.57% red, 4.71% green and 78.04% blue; printed in CMYK it uses 97.99% cyan, 93.97% magenta, 0% yellow and 21.96% black. Its hue angle is 237.54°, 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.16:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 0.94.
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.0441 |
Shades
#040cc7 mixed progressively with black.
Tints
#040cc7 mixed progressively with white.
Tones
#040cc7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-040cc7 {
color: #040cc7;
}
.bg-040cc7 {
background-color: #040cc7;
color: #ffffff;
}
.border-040cc7 {
border: 2px solid #040cc7;
}
:root {
--color-primary: #040cc7;
--color-primary-rgb: 4 12 199;
--color-primary-hsl: 238 96% 40%;
}
.gradient-040cc7 {
background: linear-gradient(135deg, #040cc7, #5d04c7);
}
.shadow-040cc7 {
box-shadow: 0 8px 24px rgb(4 12 199 / 0.35);
}
Medium Blue
#040cc7 rgb(4, 12, 199) hsl(238, 96%, 40%) Medium Blue
#c7bf04 rgb(199, 191, 4) hsl(58, 96%, 40%) Citrine
#c7040c rgb(199, 4, 12) hsl(358, 96%, 40%) Venetian Red
#0cc704 rgb(12, 199, 4) hsl(118, 96%, 40%) Lime Green