#07124f ≈ Midnight Blue
#07124f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 2.75% red, 7.06% green and 30.98% blue; printed in CMYK it uses 91.14% cyan, 77.22% magenta, 0% yellow and 69.02% black. Its hue angle is 230.83°, with 83.72% saturation and 16.86% 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 luxury branding. White text on this color reaches a contrast ratio of 17.38:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0104 |
Shades
#07124f mixed progressively with black.
Tints
#07124f mixed progressively with white.
Tones
#07124f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-07124f {
color: #07124f;
}
.bg-07124f {
background-color: #07124f;
color: #ffffff;
}
.border-07124f {
border: 2px solid #07124f;
}
:root {
--color-primary: #07124f;
--color-primary-rgb: 7 18 79;
--color-primary-hsl: 231 84% 17%;
}
.gradient-07124f {
background: linear-gradient(135deg, #07124f, #20074f);
}
.shadow-07124f {
box-shadow: 0 8px 24px rgb(7 18 79 / 0.35);
}
Midnight Blue
#07124f rgb(7, 18, 79) hsl(231, 84%, 17%) Midnight Blue
#4f4407 rgb(79, 68, 7) hsl(51, 84%, 17%) Field Drab
#4f0712 rgb(79, 7, 18) hsl(351, 84%, 17%) Rosewood
#124f07 rgb(18, 79, 7) hsl(111, 84%, 17%) Lincoln Green