#172dff ≈ Han Purple
#172dff 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 100% blue; printed in CMYK it uses 90.98% cyan, 82.35% magenta, 0% yellow and 0% black. Its hue angle is 234.31°, with 100% saturation and 54.51% 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.35:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.92.
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.0928 |
Shades
#172dff mixed progressively with black.
Tints
#172dff mixed progressively with white.
Tones
#172dff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-172dff {
color: #172dff;
}
.bg-172dff {
background-color: #172dff;
color: #ffffff;
}
.border-172dff {
border: 2px solid #172dff;
}
:root {
--color-primary: #172dff;
--color-primary-rgb: 23 45 255;
--color-primary-hsl: 234 100% 55%;
}
.gradient-172dff {
background: linear-gradient(135deg, #172dff, #7517ff);
}
.shadow-172dff {
box-shadow: 0 8px 24px rgb(23 45 255 / 0.35);
}
Han Purple
#172dff rgb(23, 45, 255) hsl(234, 100%, 55%) Han Purple
#ffe917 rgb(255, 233, 23) hsl(54, 100%, 55%) Canary Yellow
#ff172d rgb(255, 23, 45) hsl(354, 100%, 55%) Tractor Red
#2dff17 rgb(45, 255, 23) hsl(114, 100%, 55%) Neon Green