#2a31fd ≈ Han Purple
#2a31fd is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 19.22% green and 99.22% blue; printed in CMYK it uses 83.4% cyan, 80.63% magenta, 0% yellow and 0.78% black. Its hue angle is 238.01°, with 98.14% saturation and 57.84% 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.1:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.91.
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.0978 |
Shades
#2a31fd mixed progressively with black.
Tints
#2a31fd mixed progressively with white.
Tones
#2a31fd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a31fd {
color: #2a31fd;
}
.bg-2a31fd {
background-color: #2a31fd;
color: #ffffff;
}
.border-2a31fd {
border: 2px solid #2a31fd;
}
:root {
--color-primary: #2a31fd;
--color-primary-rgb: 42 49 253;
--color-primary-hsl: 238 98% 58%;
}
.gradient-2a31fd {
background: linear-gradient(135deg, #2a31fd, #8c2afd);
}
.shadow-2a31fd {
box-shadow: 0 8px 24px rgb(42 49 253 / 0.35);
}
Han Purple
#2a31fd rgb(42, 49, 253) hsl(238, 98%, 58%) Han Purple
#fdf62a rgb(253, 246, 42) hsl(58, 98%, 58%) Lemon
#fd2a31 rgb(253, 42, 49) hsl(358, 98%, 58%) Tractor Red
#31fd2a rgb(49, 253, 42) hsl(118, 98%, 58%) Neon Green