#07186a ≈ Midnight Blue
#07186a 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 41.57% blue; printed in CMYK it uses 93.4% cyan, 77.36% magenta, 0% yellow and 58.43% black. Its hue angle is 229.7°, with 87.61% saturation and 22.16% 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.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.82.
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.0174 |
Shades
#07186a mixed progressively with black.
Tints
#07186a mixed progressively with white.
Tones
#07186a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-07186a {
color: #07186a;
}
.bg-07186a {
background-color: #07186a;
color: #ffffff;
}
.border-07186a {
border: 2px solid #07186a;
}
:root {
--color-primary: #07186a;
--color-primary-rgb: 7 24 106;
--color-primary-hsl: 230 88% 22%;
}
.gradient-07186a {
background: linear-gradient(135deg, #07186a, #28076a);
}
.shadow-07186a {
box-shadow: 0 8px 24px rgb(7 24 106 / 0.35);
}
Midnight Blue
#07186a rgb(7, 24, 106) hsl(230, 88%, 22%) Midnight Blue
#6a5907 rgb(106, 89, 7) hsl(50, 88%, 22%) Field Drab
#6a0718 rgb(106, 7, 24) hsl(350, 88%, 22%) Rosewood
#186a07 rgb(24, 106, 7) hsl(110, 88%, 22%) Pakistan Green