#312da2 ≈ Egyptian Blue
#312da2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 19.22% red, 17.65% green and 63.53% blue; printed in CMYK it uses 69.75% cyan, 72.22% magenta, 0% yellow and 36.47% black. Its hue angle is 242.05°, with 56.52% saturation and 40.59% 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.36:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 3.73.
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.0514 |
Shades
#312da2 mixed progressively with black.
Tints
#312da2 mixed progressively with white.
Tones
#312da2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-312da2 {
color: #312da2;
}
.bg-312da2 {
background-color: #312da2;
color: #ffffff;
}
.border-312da2 {
border: 2px solid #312da2;
}
:root {
--color-primary: #312da2;
--color-primary-rgb: 49 45 162;
--color-primary-hsl: 242 57% 41%;
}
.gradient-312da2 {
background: linear-gradient(135deg, #312da2, #6c2da2);
}
.shadow-312da2 {
box-shadow: 0 8px 24px rgb(49 45 162 / 0.35);
}
Egyptian Blue
#312da2 rgb(49, 45, 162) hsl(242, 57%, 41%) Egyptian Blue
#9ea22d rgb(158, 162, 45) hsl(62, 57%, 41%) Brass
#a2312d rgb(162, 49, 45) hsl(2, 57%, 41%) Brown
#2da231 rgb(45, 162, 49) hsl(122, 57%, 41%) Islamic Green