#331ef4 ≈ Ultramarine
#331ef4 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 95.69% blue; printed in CMYK it uses 79.1% cyan, 87.7% magenta, 0% yellow and 4.31% black. Its hue angle is 245.89°, with 90.68% saturation and 53.73% 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.98:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.04.
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.0816 |
Shades
#331ef4 mixed progressively with black.
Tints
#331ef4 mixed progressively with white.
Tones
#331ef4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-331ef4 {
color: #331ef4;
}
.bg-331ef4 {
background-color: #331ef4;
color: #ffffff;
}
.border-331ef4 {
border: 2px solid #331ef4;
}
:root {
--color-primary: #331ef4;
--color-primary-rgb: 51 30 244;
--color-primary-hsl: 246 91% 54%;
}
.gradient-331ef4 {
background: linear-gradient(135deg, #331ef4, #9e1ef4);
}
.shadow-331ef4 {
box-shadow: 0 8px 24px rgb(51 30 244 / 0.35);
}
Ultramarine
#331ef4 rgb(51, 30, 244) hsl(246, 91%, 54%) Ultramarine
#dff41e rgb(223, 244, 30) hsl(66, 91%, 54%) Lemon Lime
#f4331e rgb(244, 51, 30) hsl(6, 91%, 54%) Candy Apple Red
#1ef433 rgb(30, 244, 51) hsl(126, 91%, 54%) Lime