#313eff ≈ Han Purple
#313eff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 24.31% green and 100% blue; printed in CMYK it uses 80.78% cyan, 75.69% magenta, 0% yellow and 0% black. Its hue angle is 236.21°, with 100% saturation and 59.61% 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.43:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.97.
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.1132 |
Shades
#313eff mixed progressively with black.
Tints
#313eff mixed progressively with white.
Tones
#313eff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-313eff {
color: #313eff;
}
.bg-313eff {
background-color: #313eff;
color: #ffffff;
}
.border-313eff {
border: 2px solid #313eff;
}
:root {
--color-primary: #313eff;
--color-primary-rgb: 49 62 255;
--color-primary-hsl: 236 100% 60%;
}
.gradient-313eff {
background: linear-gradient(135deg, #313eff, #8b31ff);
}
.shadow-313eff {
box-shadow: 0 8px 24px rgb(49 62 255 / 0.35);
}
Han Purple
#313eff rgb(49, 62, 255) hsl(236, 100%, 60%) Han Purple
#fff231 rgb(255, 242, 49) hsl(56, 100%, 60%) Aureolin
#ff313e rgb(255, 49, 62) hsl(356, 100%, 60%) Tractor Red
#3eff31 rgb(62, 255, 49) hsl(116, 100%, 60%) Neon Green