#172ef2 ≈ Blue
#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.
| 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 luminance | 0.0855 |
Shades
#172ef2 mixed progressively with black.
Tints
#172ef2 mixed progressively with white.
Tones
#172ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-172ef2 {
color: #172ef2;
}
.bg-172ef2 {
background-color: #172ef2;
color: #ffffff;
}
.border-172ef2 {
border: 2px solid #172ef2;
}
:root {
--color-primary: #172ef2;
--color-primary-rgb: 23 46 242;
--color-primary-hsl: 234 89% 52%;
}
.gradient-172ef2 {
background: linear-gradient(135deg, #172ef2, #6e17f2);
}
.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