#031fa0 ≈ Imperial Blue
#031fa0 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 1.18% red, 12.16% green and 62.75% blue; printed in CMYK it uses 98.13% cyan, 80.63% magenta, 0% yellow and 37.25% black. Its hue angle is 229.3°, with 96.32% saturation and 31.96% 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.3:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 1.99.
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.0354 |
Shades
#031fa0 mixed progressively with black.
Tints
#031fa0 mixed progressively with white.
Tones
#031fa0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-031fa0 {
color: #031fa0;
}
.bg-031fa0 {
background-color: #031fa0;
color: #ffffff;
}
.border-031fa0 {
border: 2px solid #031fa0;
}
:root {
--color-primary: #031fa0;
--color-primary-rgb: 3 31 160;
--color-primary-hsl: 229 96% 32%;
}
.gradient-031fa0 {
background: linear-gradient(135deg, #031fa0, #3603a0);
}
.shadow-031fa0 {
box-shadow: 0 8px 24px rgb(3 31 160 / 0.35);
}
Imperial Blue
#031fa0 rgb(3, 31, 160) hsl(229, 96%, 32%) Imperial Blue
#a08403 rgb(160, 132, 3) hsl(49, 96%, 32%) Dark Goldenrod
#a0031f rgb(160, 3, 31) hsl(349, 96%, 32%) Carmine
#1fa003 rgb(31, 160, 3) hsl(109, 96%, 32%) Islamic Green