#08115b ≈ Midnight Blue
#08115b is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 6.67% green and 35.69% blue; printed in CMYK it uses 91.21% cyan, 81.32% magenta, 0% yellow and 64.31% black. Its hue angle is 233.49°, with 83.84% saturation and 19.41% 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.91:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.84.
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.0121 |
Shades
#08115b mixed progressively with black.
Tints
#08115b mixed progressively with white.
Tones
#08115b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-08115b {
color: #08115b;
}
.bg-08115b {
background-color: #08115b;
color: #ffffff;
}
.border-08115b {
border: 2px solid #08115b;
}
:root {
--color-primary: #08115b;
--color-primary-rgb: 8 17 91;
--color-primary-hsl: 233 84% 19%;
}
.gradient-08115b {
background: linear-gradient(135deg, #08115b, #28085b);
}
.shadow-08115b {
box-shadow: 0 8px 24px rgb(8 17 91 / 0.35);
}
Midnight Blue
#08115b rgb(8, 17, 91) hsl(233, 84%, 19%) Midnight Blue
#5b5208 rgb(91, 82, 8) hsl(53, 84%, 19%) Field Drab
#5b0811 rgb(91, 8, 17) hsl(353, 84%, 19%) Rosewood
#115b08 rgb(17, 91, 8) hsl(113, 84%, 19%) Lincoln Green