#031b73 ≈ Midnight Blue
#031b73 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.18% red, 10.59% green and 45.1% blue; printed in CMYK it uses 97.39% cyan, 76.52% magenta, 0% yellow and 54.9% black. Its hue angle is 227.14°, with 94.92% saturation and 23.14% 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.91:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.92.
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.0204 |
Shades
#031b73 mixed progressively with black.
Tints
#031b73 mixed progressively with white.
Tones
#031b73 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031b73 {
color: #031b73;
}
.bg-031b73 {
background-color: #031b73;
color: #ffffff;
}
.border-031b73 {
border: 2px solid #031b73;
}
:root {
--color-primary: #031b73;
--color-primary-rgb: 3 27 115;
--color-primary-hsl: 227 95% 23%;
}
.gradient-031b73 {
background: linear-gradient(135deg, #031b73, #230373);
}
.shadow-031b73 {
box-shadow: 0 8px 24px rgb(3 27 115 / 0.35);
}
Midnight Blue
#031b73 rgb(3, 27, 115) hsl(227, 95%, 23%) Midnight Blue
#735b03 rgb(115, 91, 3) hsl(47, 95%, 23%) Field Drab
#73031b rgb(115, 3, 27) hsl(347, 95%, 23%) Burgundy
#1b7303 rgb(27, 115, 3) hsl(107, 95%, 23%) Green