#313998 ≈ Egyptian Blue
#313998 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 22.35% green and 59.61% blue; printed in CMYK it uses 67.76% cyan, 62.5% magenta, 0% yellow and 40.39% black. Its hue angle is 235.34°, with 51.24% saturation and 39.41% 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 9.68:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.33.
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.0585 |
Shades
#313998 mixed progressively with black.
Tints
#313998 mixed progressively with white.
Tones
#313998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-313998 {
color: #313998;
}
.bg-313998 {
background-color: #313998;
color: #ffffff;
}
.border-313998 {
border: 2px solid #313998;
}
:root {
--color-primary: #313998;
--color-primary-rgb: 49 57 152;
--color-primary-hsl: 235 51% 39%;
}
.gradient-313998 {
background: linear-gradient(135deg, #313998, #5c3198);
}
.shadow-313998 {
box-shadow: 0 8px 24px rgb(49 57 152 / 0.35);
}
Egyptian Blue
#313998 rgb(49, 57, 152) hsl(235, 51%, 39%) Egyptian Blue
#989031 rgb(152, 144, 49) hsl(55, 51%, 39%) Olive
#983139 rgb(152, 49, 57) hsl(355, 51%, 39%) Vivid Burgundy
#399831 rgb(57, 152, 49) hsl(115, 51%, 39%) Islamic Green