#31318e ≈ Smalt
#31318e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 19.22% green and 55.69% blue; printed in CMYK it uses 65.49% cyan, 65.49% magenta, 0% yellow and 44.31% black. Its hue angle is 240°, with 48.69% saturation and 37.45% 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 10.71:1 (WCAG AAA). The closest named color is Smalt (#003399), ΔE 4.32.
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.048 |
Shades
#31318e mixed progressively with black.
Tints
#31318e mixed progressively with white.
Tones
#31318e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31318e {
color: #31318e;
}
.bg-31318e {
background-color: #31318e;
color: #ffffff;
}
.border-31318e {
border: 2px solid #31318e;
}
:root {
--color-primary: #31318e;
--color-primary-rgb: 49 49 142;
--color-primary-hsl: 240 49% 37%;
}
.gradient-31318e {
background: linear-gradient(135deg, #31318e, #5f318e);
}
.shadow-31318e {
box-shadow: 0 8px 24px rgb(49 49 142 / 0.35);
}
Smalt
#31318e rgb(49, 49, 142) hsl(240, 49%, 37%) Smalt
#8e8e31 rgb(142, 142, 49) hsl(60, 49%, 37%) Olive
#8e3131 rgb(142, 49, 49) hsl(0, 49%, 37%) Burnt Umber
#318e31 rgb(49, 142, 49) hsl(120, 49%, 37%) Forest Green