#05167a ≈ Midnight Blue
#05167a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 8.63% green and 47.84% blue; printed in CMYK it uses 95.9% cyan, 81.97% magenta, 0% yellow and 52.16% black. Its hue angle is 231.28°, with 92.13% saturation and 24.9% 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 14.98:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.19.
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.0201 |
Shades
#05167a mixed progressively with black.
Tints
#05167a mixed progressively with white.
Tones
#05167a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-05167a {
color: #05167a;
}
.bg-05167a {
background-color: #05167a;
color: #ffffff;
}
.border-05167a {
border: 2px solid #05167a;
}
:root {
--color-primary: #05167a;
--color-primary-rgb: 5 22 122;
--color-primary-hsl: 231 92% 25%;
}
.gradient-05167a {
background: linear-gradient(135deg, #05167a, #2e057a);
}
.shadow-05167a {
box-shadow: 0 8px 24px rgb(5 22 122 / 0.35);
}
Midnight Blue
#05167a rgb(5, 22, 122) hsl(231, 92%, 25%) Midnight Blue
#7a6905 rgb(122, 105, 5) hsl(51, 92%, 25%) Olive
#7a0516 rgb(122, 5, 22) hsl(351, 92%, 25%) Falu Red
#167a05 rgb(22, 122, 5) hsl(111, 92%, 25%) Green