#1f2ff4 ≈ Han Purple
#1f2ff4 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.16% red, 18.43% green and 95.69% blue; printed in CMYK it uses 87.3% cyan, 80.74% magenta, 0% yellow and 4.31% black. Its hue angle is 235.49°, with 90.64% saturation and 53.92% 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.58:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.21.
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.0886 |
Shades
#1f2ff4 mixed progressively with black.
Tints
#1f2ff4 mixed progressively with white.
Tones
#1f2ff4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f2ff4 {
color: #1f2ff4;
}
.bg-1f2ff4 {
background-color: #1f2ff4;
color: #ffffff;
}
.border-1f2ff4 {
border: 2px solid #1f2ff4;
}
:root {
--color-primary: #1f2ff4;
--color-primary-rgb: 31 47 244;
--color-primary-hsl: 235 91% 54%;
}
.gradient-1f2ff4 {
background: linear-gradient(135deg, #1f2ff4, #791ff4);
}
.shadow-1f2ff4 {
box-shadow: 0 8px 24px rgb(31 47 244 / 0.35);
}
Han Purple
#1f2ff4 rgb(31, 47, 244) hsl(235, 91%, 54%) Han Purple
#f4e41f rgb(244, 228, 31) hsl(55, 91%, 54%) Dandelion
#f41f2f rgb(244, 31, 47) hsl(355, 91%, 54%) Tractor Red
#2ff41f rgb(47, 244, 31) hsl(115, 91%, 54%) Lime