#0d2971 ≈ Midnight Blue
#0d2971 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.1% red, 16.08% green and 44.31% blue; printed in CMYK it uses 88.5% cyan, 63.72% magenta, 0% yellow and 55.69% black. Its hue angle is 223.2°, with 79.37% saturation and 24.71% 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 13.35:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0286 |
Shades
#0d2971 mixed progressively with black.
Tints
#0d2971 mixed progressively with white.
Tones
#0d2971 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0d2971 {
color: #0d2971;
}
.bg-0d2971 {
background-color: #0d2971;
color: #ffffff;
}
.border-0d2971 {
border: 2px solid #0d2971;
}
:root {
--color-primary: #0d2971;
--color-primary-rgb: 13 41 113;
--color-primary-hsl: 223 79% 25%;
}
.gradient-0d2971 {
background: linear-gradient(135deg, #0d2971, #230d71);
}
.shadow-0d2971 {
box-shadow: 0 8px 24px rgb(13 41 113 / 0.35);
}
Midnight Blue
#0d2971 rgb(13, 41, 113) hsl(223, 79%, 25%) Midnight Blue
#71550d rgb(113, 85, 13) hsl(43, 79%, 25%) Field Drab
#710d29 rgb(113, 13, 41) hsl(343, 79%, 25%) Claret
#29710d rgb(41, 113, 13) hsl(103, 79%, 25%) Pakistan Green