#2f38fa ≈ Han Purple
#2f38fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 21.96% green and 98.04% blue; printed in CMYK it uses 81.2% cyan, 77.6% magenta, 0% yellow and 1.96% black. Its hue angle is 237.34°, with 95.31% saturation and 58.24% 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 6.85:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.83.
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.1033 |
Shades
#2f38fa mixed progressively with black.
Tints
#2f38fa mixed progressively with white.
Tones
#2f38fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f38fa {
color: #2f38fa;
}
.bg-2f38fa {
background-color: #2f38fa;
color: #ffffff;
}
.border-2f38fa {
border: 2px solid #2f38fa;
}
:root {
--color-primary: #2f38fa;
--color-primary-rgb: 47 56 250;
--color-primary-hsl: 237 95% 58%;
}
.gradient-2f38fa {
background: linear-gradient(135deg, #2f38fa, #8c2ffa);
}
.shadow-2f38fa {
box-shadow: 0 8px 24px rgb(47 56 250 / 0.35);
}
Han Purple
#2f38fa rgb(47, 56, 250) hsl(237, 95%, 58%) Han Purple
#faf12f rgb(250, 241, 47) hsl(57, 95%, 58%) Cadmium Yellow
#fa2f38 rgb(250, 47, 56) hsl(357, 95%, 58%) Tractor Red
#38fa2f rgb(56, 250, 47) hsl(117, 95%, 58%) Neon Green