#031a67 ≈ Midnight Blue
#031a67 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.2% green and 40.39% blue; printed in CMYK it uses 97.09% cyan, 74.76% magenta, 0% yellow and 59.61% black. Its hue angle is 226.2°, with 94.34% saturation and 20.78% 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 15.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.72.
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.0174 |
Shades
#031a67 mixed progressively with black.
Tints
#031a67 mixed progressively with white.
Tones
#031a67 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031a67 {
color: #031a67;
}
.bg-031a67 {
background-color: #031a67;
color: #ffffff;
}
.border-031a67 {
border: 2px solid #031a67;
}
:root {
--color-primary: #031a67;
--color-primary-rgb: 3 26 103;
--color-primary-hsl: 226 94% 21%;
}
.gradient-031a67 {
background: linear-gradient(135deg, #031a67, #1e0367);
}
.shadow-031a67 {
box-shadow: 0 8px 24px rgb(3 26 103 / 0.35);
}
Midnight Blue
#031a67 rgb(3, 26, 103) hsl(226, 94%, 21%) Midnight Blue
#675003 rgb(103, 80, 3) hsl(46, 94%, 21%) Field Drab
#67031a rgb(103, 3, 26) hsl(346, 94%, 21%) Rosewood
#1a6703 rgb(26, 103, 3) hsl(106, 94%, 21%) Pakistan Green