#252ef2 ≈ Han Purple
#252ef2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.51% red, 18.04% green and 94.9% blue; printed in CMYK it uses 84.71% cyan, 80.99% magenta, 0% yellow and 5.1% black. Its hue angle is 237.37°, with 88.74% saturation and 54.71% 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.63:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0876 |
Shades
#252ef2 mixed progressively with black.
Tints
#252ef2 mixed progressively with white.
Tones
#252ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-252ef2 {
color: #252ef2;
}
.bg-252ef2 {
background-color: #252ef2;
color: #ffffff;
}
.border-252ef2 {
border: 2px solid #252ef2;
}
:root {
--color-primary: #252ef2;
--color-primary-rgb: 37 46 242;
--color-primary-hsl: 237 89% 55%;
}
.gradient-252ef2 {
background: linear-gradient(135deg, #252ef2, #8325f2);
}
.shadow-252ef2 {
box-shadow: 0 8px 24px rgb(37 46 242 / 0.35);
}
Han Purple
#252ef2 rgb(37, 46, 242) hsl(237, 89%, 55%) Han Purple
#f2e925 rgb(242, 233, 37) hsl(57, 89%, 55%) Titanium Yellow
#f2252e rgb(242, 37, 46) hsl(357, 89%, 55%) Tractor Red
#2ef225 rgb(46, 242, 37) hsl(117, 89%, 55%) Lime