#08116a ≈ Midnight Blue
#08116a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 6.67% green and 41.57% blue; printed in CMYK it uses 92.45% cyan, 83.96% magenta, 0% yellow and 58.43% black. Its hue angle is 234.49°, with 85.96% saturation and 22.35% 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 16.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.22.
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.0149 |
Shades
#08116a mixed progressively with black.
Tints
#08116a mixed progressively with white.
Tones
#08116a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-08116a {
color: #08116a;
}
.bg-08116a {
background-color: #08116a;
color: #ffffff;
}
.border-08116a {
border: 2px solid #08116a;
}
:root {
--color-primary: #08116a;
--color-primary-rgb: 8 17 106;
--color-primary-hsl: 234 86% 22%;
}
.gradient-08116a {
background: linear-gradient(135deg, #08116a, #30086a);
}
.shadow-08116a {
box-shadow: 0 8px 24px rgb(8 17 106 / 0.35);
}
Midnight Blue
#08116a rgb(8, 17, 106) hsl(234, 86%, 22%) Midnight Blue
#6a6108 rgb(106, 97, 8) hsl(54, 86%, 22%) Field Drab
#6a0811 rgb(106, 8, 17) hsl(354, 86%, 22%) Rosewood
#116a08 rgb(17, 106, 8) hsl(114, 86%, 22%) Pakistan Green