#031d98 ≈ Imperial Blue
#031d98 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.18% red, 11.37% green and 59.61% blue; printed in CMYK it uses 98.03% cyan, 80.92% magenta, 0% yellow and 40.39% black. Its hue angle is 229.53°, with 96.13% saturation and 30.39% 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 corporate identities. White text on this color reaches a contrast ratio of 12.86:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.65.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0317 |
Shades
#031d98 mixed progressively with black.
Tints
#031d98 mixed progressively with white.
Tones
#031d98 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031d98 {
color: #031d98;
}
.bg-031d98 {
background-color: #031d98;
color: #ffffff;
}
.border-031d98 {
border: 2px solid #031d98;
}
:root {
--color-primary: #031d98;
--color-primary-rgb: 3 29 152;
--color-primary-hsl: 230 96% 30%;
}
.gradient-031d98 {
background: linear-gradient(135deg, #031d98, #330398);
}
.shadow-031d98 {
box-shadow: 0 8px 24px rgb(3 29 152 / 0.35);
}
Imperial Blue
#031d98 rgb(3, 29, 152) hsl(230, 96%, 30%) Imperial Blue
#987e03 rgb(152, 126, 3) hsl(50, 96%, 30%) Olive
#98031d rgb(152, 3, 29) hsl(350, 96%, 30%) Carmine
#1d9803 rgb(29, 152, 3) hsl(110, 96%, 30%) Islamic Green