#2838ef ≈ Han Purple
#2838ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 21.96% green and 93.73% blue; printed in CMYK it uses 83.26% cyan, 76.57% magenta, 0% yellow and 6.27% black. Its hue angle is 235.18°, with 86.15% 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.24:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.26.
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.0951 |
Shades
#2838ef mixed progressively with black.
Tints
#2838ef mixed progressively with white.
Tones
#2838ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2838ef {
color: #2838ef;
}
.bg-2838ef {
background-color: #2838ef;
color: #ffffff;
}
.border-2838ef {
border: 2px solid #2838ef;
}
:root {
--color-primary: #2838ef;
--color-primary-rgb: 40 56 239;
--color-primary-hsl: 235 86% 55%;
}
.gradient-2838ef {
background: linear-gradient(135deg, #2838ef, #7c28ef);
}
.shadow-2838ef {
box-shadow: 0 8px 24px rgb(40 56 239 / 0.35);
}
Han Purple
#2838ef rgb(40, 56, 239) hsl(235, 86%, 55%) Han Purple
#efdf28 rgb(239, 223, 40) hsl(55, 86%, 55%) Dandelion
#ef2838 rgb(239, 40, 56) hsl(355, 86%, 55%) Tractor Red
#38ef28 rgb(56, 239, 40) hsl(115, 86%, 55%) Neon Green