#172EF2

#172ef2 ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#172ef2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 9.02% red, 18.04% green and 94.9% blue; printed in CMYK it uses 90.5% cyan, 80.99% magenta, 0% yellow and 5.1% black. Its hue angle is 233.7°, with 89.39% saturation and 51.96% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.75:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #172ef2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0855

Readable text 7.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4247ab ≈ 0.001% of males
Protanopia #005df7 ≈ 1.01% of males
Deuteranopia #0047ef ≈ 1.27% of males
Tritanopia #006e92 ≈ 0.0001% of males
Protanomaly #004ff5 ≈ 1.08% of males
Deuteranomaly #003ef0 ≈ 4.63% of males
Tritanomaly #005bc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-172ef2 {
  color: #172ef2;
}
Background
.bg-172ef2 {
  background-color: #172ef2;
  color: #ffffff;
}
Border
.border-172ef2 {
  border: 2px solid #172ef2;
}
CSS variables
:root {
  --color-primary: #172ef2;
  --color-primary-rgb: 23 46 242;
  --color-primary-hsl: 234 89% 52%;
}
Gradient
.gradient-172ef2 {
  background: linear-gradient(135deg, #172ef2, #6e17f2);
}
Colored shadow
.shadow-172ef2 {
  box-shadow: 0 8px 24px rgb(23 46 242 / 0.35);
}

Blue
#172ef2  rgb(23, 46, 242)  hsl(234, 89%, 52%)  Blue
#f2db17  rgb(242, 219, 23)  hsl(54, 89%, 52%)  Dandelion
#f2172e  rgb(242, 23, 46)  hsl(354, 89%, 52%)  Tractor Red
#2ef217  rgb(46, 242, 23)  hsl(114, 89%, 52%)  Lime