#172DEF

#172def ≈ Blue

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

#172def is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 9.02% red, 17.65% green and 93.73% blue; printed in CMYK it uses 90.38% cyan, 81.17% magenta, 0% yellow and 6.27% black. Its hue angle is 233.89°, with 87.1% saturation and 51.37% 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.9:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.08.

Description generated from the measured properties of this color.

Conversions of #172def 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.0829

Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4145a9 ≈ 0.001% of males
Protanopia #005cf4 ≈ 1.01% of males
Deuteranopia #0046ec ≈ 1.27% of males
Tritanopia #006c90 ≈ 0.0001% of males
Protanomaly #004df2 ≈ 1.08% of males
Deuteranomaly #003ded ≈ 4.63% of males
Tritanomaly #005abe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-172def {
  color: #172def;
}
Background
.bg-172def {
  background-color: #172def;
  color: #ffffff;
}
Border
.border-172def {
  border: 2px solid #172def;
}
CSS variables
:root {
  --color-primary: #172def;
  --color-primary-rgb: 23 45 239;
  --color-primary-hsl: 234 87% 51%;
}
Gradient
.gradient-172def {
  background: linear-gradient(135deg, #172def, #6d17ef);
}
Colored shadow
.shadow-172def {
  box-shadow: 0 8px 24px rgb(23 45 239 / 0.35);
}

Blue
#172def  rgb(23, 45, 239)  hsl(234, 87%, 51%)  Blue
#efd917  rgb(239, 217, 23)  hsl(54, 87%, 51%)  Citrine
#ef172d  rgb(239, 23, 45)  hsl(354, 87%, 51%)  Tractor Red
#2def17  rgb(45, 239, 23)  hsl(114, 87%, 51%)  Lime