#302fed ≈ Han Purple
#302fed is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 18.43% green and 92.94% blue; printed in CMYK it uses 79.75% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 240.32°, with 84.07% saturation and 55.69% 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.62:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.9.
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.0878 |
Shades
#302fed mixed progressively with black.
Tints
#302fed mixed progressively with white.
Tones
#302fed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-302fed {
color: #302fed;
}
.bg-302fed {
background-color: #302fed;
color: #ffffff;
}
.border-302fed {
border: 2px solid #302fed;
}
:root {
--color-primary: #302fed;
--color-primary-rgb: 48 47 237;
--color-primary-hsl: 240 84% 56%;
}
.gradient-302fed {
background: linear-gradient(135deg, #302fed, #8f2fed);
}
.shadow-302fed {
box-shadow: 0 8px 24px rgb(48 47 237 / 0.35);
}
Han Purple
#302fed rgb(48, 47, 237) hsl(240, 84%, 56%) Han Purple
#eced2f rgb(236, 237, 47) hsl(60, 84%, 56%) Titanium Yellow
#ed302f rgb(237, 48, 47) hsl(0, 84%, 56%) Cinnabar
#2fed30 rgb(47, 237, 48) hsl(120, 84%, 56%) Lime