#331ef8 ≈ Ultramarine
#331ef8 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 11.76% green and 97.25% blue; printed in CMYK it uses 79.44% cyan, 87.9% magenta, 0% yellow and 2.75% black. Its hue angle is 245.78°, with 93.97% saturation and 54.51% 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.83:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.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.0841 |
Shades
#331ef8 mixed progressively with black.
Tints
#331ef8 mixed progressively with white.
Tones
#331ef8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331ef8 {
color: #331ef8;
}
.bg-331ef8 {
background-color: #331ef8;
color: #ffffff;
}
.border-331ef8 {
border: 2px solid #331ef8;
}
:root {
--color-primary: #331ef8;
--color-primary-rgb: 51 30 248;
--color-primary-hsl: 246 94% 55%;
}
.gradient-331ef8 {
background: linear-gradient(135deg, #331ef8, #a01ef8);
}
.shadow-331ef8 {
box-shadow: 0 8px 24px rgb(51 30 248 / 0.35);
}
Ultramarine
#331ef8 rgb(51, 30, 248) hsl(246, 94%, 55%) Ultramarine
#e3f81e rgb(227, 248, 30) hsl(66, 94%, 55%) Lemon Lime
#f8331e rgb(248, 51, 30) hsl(6, 94%, 55%) Candy Apple Red
#1ef833 rgb(30, 248, 51) hsl(126, 94%, 55%) Lime