#172EA2

#172ea2 ≈ Egyptian Blue

  • blue
  • Lightness: low
  • Saturation: strong
  • Cool

#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.

Conversions of #172ea2 into other color spaces
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 luminance0.0474

Readable text 10.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #323873 ≈ 0.001% of males
Protanopia #0044a5 ≈ 1.01% of males
Deuteranopia #0037a0 ≈ 1.27% of males
Tritanopia #004f64 ≈ 0.0001% of males
Protanomaly #003ca4 ≈ 1.08% of males
Deuteranomaly #0033a1 ≈ 4.63% of males
Tritanomaly #004482 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-172ea2 {
  color: #172ea2;
}
Background
.bg-172ea2 {
  background-color: #172ea2;
  color: #ffffff;
}
Border
.border-172ea2 {
  border: 2px solid #172ea2;
}
CSS variables
:root {
  --color-primary: #172ea2;
  --color-primary-rgb: 23 46 162;
  --color-primary-hsl: 230 75% 36%;
}
Gradient
.gradient-172ea2 {
  background: linear-gradient(135deg, #172ea2, #4517a2);
}
Colored shadow
.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