#31389a ≈ Egyptian Blue
#31389a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 21.96% green and 60.39% blue; printed in CMYK it uses 68.18% cyan, 63.64% magenta, 0% yellow and 39.61% black. Its hue angle is 236°, with 51.72% saturation and 39.8% 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.71:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.08.
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.0581 |
Shades
#31389a mixed progressively with black.
Tints
#31389a mixed progressively with white.
Tones
#31389a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31389a {
color: #31389a;
}
.bg-31389a {
background-color: #31389a;
color: #ffffff;
}
.border-31389a {
border: 2px solid #31389a;
}
:root {
--color-primary: #31389a;
--color-primary-rgb: 49 56 154;
--color-primary-hsl: 236 52% 40%;
}
.gradient-31389a {
background: linear-gradient(135deg, #31389a, #5e319a);
}
.shadow-31389a {
box-shadow: 0 8px 24px rgb(49 56 154 / 0.35);
}
Egyptian Blue
#31389a rgb(49, 56, 154) hsl(236, 52%, 40%) Egyptian Blue
#9a9331 rgb(154, 147, 49) hsl(56, 52%, 40%) Brass
#9a3138 rgb(154, 49, 56) hsl(356, 52%, 40%) Vivid Burgundy
#389a31 rgb(56, 154, 49) hsl(116, 52%, 40%) Islamic Green