#2231ef ≈ Han Purple
#2231ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 13.33% red, 19.22% green and 93.73% blue; printed in CMYK it uses 85.77% cyan, 79.5% magenta, 0% yellow and 6.27% black. Its hue angle is 235.61°, with 86.5% saturation and 53.53% 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.63:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.55.
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.0877 |
Shades
#2231ef mixed progressively with black.
Tints
#2231ef mixed progressively with white.
Tones
#2231ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2231ef {
color: #2231ef;
}
.bg-2231ef {
background-color: #2231ef;
color: #ffffff;
}
.border-2231ef {
border: 2px solid #2231ef;
}
:root {
--color-primary: #2231ef;
--color-primary-rgb: 34 49 239;
--color-primary-hsl: 236 87% 54%;
}
.gradient-2231ef {
background: linear-gradient(135deg, #2231ef, #7a22ef);
}
.shadow-2231ef {
box-shadow: 0 8px 24px rgb(34 49 239 / 0.35);
}
Han Purple
#2231ef rgb(34, 49, 239) hsl(236, 87%, 54%) Han Purple
#efe022 rgb(239, 224, 34) hsl(56, 87%, 54%) Dandelion
#ef2231 rgb(239, 34, 49) hsl(356, 87%, 54%) Tractor Red
#31ef22 rgb(49, 239, 34) hsl(116, 87%, 54%) Lime