#172ea2 ≈ Egyptian Blue
#172ea2 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 9.02% red, 18.04% green and 63.53% blue; printed in CMYK it uses 85.8% cyan, 71.6% magenta, 0% yellow and 36.47% black. Its hue angle is 230.07°, with 75.14% saturation and 36.27% 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.77:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 1.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0474 |
Shades
#172ea2 mixed progressively with black.
Tints
#172ea2 mixed progressively with white.
Tones
#172ea2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-172ea2 {
color: #172ea2;
}
.bg-172ea2 {
background-color: #172ea2;
color: #ffffff;
}
.border-172ea2 {
border: 2px solid #172ea2;
}
:root {
--color-primary: #172ea2;
--color-primary-rgb: 23 46 162;
--color-primary-hsl: 230 75% 36%;
}
.gradient-172ea2 {
background: linear-gradient(135deg, #172ea2, #4517a2);
}
.shadow-172ea2 {
box-shadow: 0 8px 24px rgb(23 46 162 / 0.35);
}
Egyptian Blue
#172ea2 rgb(23, 46, 162) hsl(230, 75%, 36%) Egyptian Blue
#a28b17 rgb(162, 139, 23) hsl(50, 75%, 36%) Dark Goldenrod
#a2172e rgb(162, 23, 46) hsl(350, 75%, 36%) Vivid Burgundy
#2ea217 rgb(46, 162, 23) hsl(110, 75%, 36%) Islamic Green