#2a2fa1 ≈ Egyptian Blue
#2a2fa1 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 16.47% red, 18.43% green and 63.14% blue; printed in CMYK it uses 73.91% cyan, 70.81% magenta, 0% yellow and 36.86% black. Its hue angle is 237.48°, with 58.62% 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 10.4:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.7.
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.051 |
Shades
#2a2fa1 mixed progressively with black.
Tints
#2a2fa1 mixed progressively with white.
Tones
#2a2fa1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a2fa1 {
color: #2a2fa1;
}
.bg-2a2fa1 {
background-color: #2a2fa1;
color: #ffffff;
}
.border-2a2fa1 {
border: 2px solid #2a2fa1;
}
:root {
--color-primary: #2a2fa1;
--color-primary-rgb: 42 47 161;
--color-primary-hsl: 237 59% 40%;
}
.gradient-2a2fa1 {
background: linear-gradient(135deg, #2a2fa1, #602aa1);
}
.shadow-2a2fa1 {
box-shadow: 0 8px 24px rgb(42 47 161 / 0.35);
}
Egyptian Blue
#2a2fa1 rgb(42, 47, 161) hsl(237, 59%, 40%) Egyptian Blue
#a19c2a rgb(161, 156, 42) hsl(57, 59%, 40%) Brass
#a12a2f rgb(161, 42, 47) hsl(357, 59%, 40%) Brown
#2fa12a rgb(47, 161, 42) hsl(117, 59%, 40%) Islamic Green