#07186f ≈ Midnight Blue
#07186f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 2.75% red, 9.41% green and 43.53% blue; printed in CMYK it uses 93.69% cyan, 78.38% magenta, 0% yellow and 56.47% black. Its hue angle is 230.19°, with 88.14% saturation and 23.14% 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 15.34:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.42.
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.0185 |
Shades
#07186f mixed progressively with black.
Tints
#07186f mixed progressively with white.
Tones
#07186f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-07186f {
color: #07186f;
}
.bg-07186f {
background-color: #07186f;
color: #ffffff;
}
.border-07186f {
border: 2px solid #07186f;
}
:root {
--color-primary: #07186f;
--color-primary-rgb: 7 24 111;
--color-primary-hsl: 230 88% 23%;
}
.gradient-07186f {
background: linear-gradient(135deg, #07186f, #2a076f);
}
.shadow-07186f {
box-shadow: 0 8px 24px rgb(7 24 111 / 0.35);
}
Midnight Blue
#07186f rgb(7, 24, 111) hsl(230, 88%, 23%) Midnight Blue
#6f5e07 rgb(111, 94, 7) hsl(50, 88%, 23%) Field Drab
#6f0718 rgb(111, 7, 24) hsl(350, 88%, 23%) Rosewood
#186f07 rgb(24, 111, 7) hsl(110, 88%, 23%) Pakistan Green