#2a2fa6 ≈ Egyptian Blue
#2a2fa6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.47% red, 18.43% green and 65.1% blue; printed in CMYK it uses 74.7% cyan, 71.69% magenta, 0% yellow and 34.9% black. Its hue angle is 237.58°, with 59.62% saturation and 40.78% 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.22:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.74.
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.0528 |
Shades
#2a2fa6 mixed progressively with black.
Tints
#2a2fa6 mixed progressively with white.
Tones
#2a2fa6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a2fa6 {
color: #2a2fa6;
}
.bg-2a2fa6 {
background-color: #2a2fa6;
color: #ffffff;
}
.border-2a2fa6 {
border: 2px solid #2a2fa6;
}
:root {
--color-primary: #2a2fa6;
--color-primary-rgb: 42 47 166;
--color-primary-hsl: 238 60% 41%;
}
.gradient-2a2fa6 {
background: linear-gradient(135deg, #2a2fa6, #632aa6);
}
.shadow-2a2fa6 {
box-shadow: 0 8px 24px rgb(42 47 166 / 0.35);
}
Egyptian Blue
#2a2fa6 rgb(42, 47, 166) hsl(238, 60%, 41%) Egyptian Blue
#a6a12a rgb(166, 161, 42) hsl(58, 60%, 41%) Brass
#a62a2f rgb(166, 42, 47) hsl(358, 60%, 41%) Brown
#2fa62a rgb(47, 166, 42) hsl(118, 60%, 41%) Kelly Green