#172ea1 ≈ Egyptian Blue
#172ea1 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.14% blue; printed in CMYK it uses 85.71% cyan, 71.43% magenta, 0% yellow and 36.86% black. Its hue angle is 230°, with 75% saturation and 36.08% 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.81:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 1.9.
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.0471 |
Shades
#172ea1 mixed progressively with black.
Tints
#172ea1 mixed progressively with white.
Tones
#172ea1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-172ea1 {
color: #172ea1;
}
.bg-172ea1 {
background-color: #172ea1;
color: #ffffff;
}
.border-172ea1 {
border: 2px solid #172ea1;
}
:root {
--color-primary: #172ea1;
--color-primary-rgb: 23 46 161;
--color-primary-hsl: 230 75% 36%;
}
.gradient-172ea1 {
background: linear-gradient(135deg, #172ea1, #4517a1);
}
.shadow-172ea1 {
box-shadow: 0 8px 24px rgb(23 46 161 / 0.35);
}
Egyptian Blue
#172ea1 rgb(23, 46, 161) hsl(230, 75%, 36%) Egyptian Blue
#a18a17 rgb(161, 138, 23) hsl(50, 75%, 36%) Dark Goldenrod
#a1172e rgb(161, 23, 46) hsl(350, 75%, 36%) Vivid Burgundy
#2ea117 rgb(46, 161, 23) hsl(110, 75%, 36%) Islamic Green