#1237ec ≈ Han Purple
#1237ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 7.06% red, 21.57% green and 92.55% blue; printed in CMYK it uses 92.37% cyan, 76.69% magenta, 0% yellow and 7.45% black. Its hue angle is 229.82°, with 85.83% saturation and 49.8% 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.54:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0892 |
Shades
#1237ec mixed progressively with black.
Tints
#1237ec mixed progressively with white.
Tones
#1237ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1237ec {
color: #1237ec;
}
.bg-1237ec {
background-color: #1237ec;
color: #ffffff;
}
.border-1237ec {
border: 2px solid #1237ec;
}
:root {
--color-primary: #1237ec;
--color-primary-rgb: 18 55 236;
--color-primary-hsl: 230 86% 50%;
}
.gradient-1237ec {
background: linear-gradient(135deg, #1237ec, #5a12ec);
}
.shadow-1237ec {
box-shadow: 0 8px 24px rgb(18 55 236 / 0.35);
}
Han Purple
#1237ec rgb(18, 55, 236) hsl(230, 86%, 50%) Han Purple
#ecc712 rgb(236, 199, 18) hsl(50, 86%, 50%) Jonquil
#ec1237 rgb(236, 18, 55) hsl(350, 86%, 50%) Tractor Red
#37ec12 rgb(55, 236, 18) hsl(110, 86%, 50%) Neon Green