#312e8a ≈ Imperial Blue
#312e8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 18.04% green and 54.12% blue; printed in CMYK it uses 64.49% cyan, 66.67% magenta, 0% yellow and 45.88% black. Its hue angle is 241.96°, with 50% saturation and 36.08% 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 brand accents. White text on this color reaches a contrast ratio of 11.12:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 4.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0444 |
Shades
#312e8a mixed progressively with black.
Tints
#312e8a mixed progressively with white.
Tones
#312e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-312e8a {
color: #312e8a;
}
.bg-312e8a {
background-color: #312e8a;
color: #ffffff;
}
.border-312e8a {
border: 2px solid #312e8a;
}
:root {
--color-primary: #312e8a;
--color-primary-rgb: 49 46 138;
--color-primary-hsl: 242 50% 36%;
}
.gradient-312e8a {
background: linear-gradient(135deg, #312e8a, #5f2e8a);
}
.shadow-312e8a {
box-shadow: 0 8px 24px rgb(49 46 138 / 0.35);
}
Imperial Blue
#312e8a rgb(49, 46, 138) hsl(242, 50%, 36%) Imperial Blue
#878a2e rgb(135, 138, 46) hsl(62, 50%, 36%) Olive
#8a312e rgb(138, 49, 46) hsl(2, 50%, 36%) Burnt Umber
#2e8a31 rgb(46, 138, 49) hsl(122, 50%, 36%) Forest Green