#2f1ff2 ≈ Ultramarine
#2f1ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 12.16% green and 94.9% blue; printed in CMYK it uses 80.58% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 244.55°, with 89.03% 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 8.08:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 2.33.
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.08 |
Shades
#2f1ff2 mixed progressively with black.
Tints
#2f1ff2 mixed progressively with white.
Tones
#2f1ff2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f1ff2 {
color: #2f1ff2;
}
.bg-2f1ff2 {
background-color: #2f1ff2;
color: #ffffff;
}
.border-2f1ff2 {
border: 2px solid #2f1ff2;
}
:root {
--color-primary: #2f1ff2;
--color-primary-rgb: 47 31 242;
--color-primary-hsl: 245 89% 54%;
}
.gradient-2f1ff2 {
background: linear-gradient(135deg, #2f1ff2, #991ff2);
}
.shadow-2f1ff2 {
box-shadow: 0 8px 24px rgb(47 31 242 / 0.35);
}
Ultramarine
#2f1ff2 rgb(47, 31, 242) hsl(245, 89%, 54%) Ultramarine
#e2f21f rgb(226, 242, 31) hsl(65, 89%, 54%) Lemon Lime
#f22f1f rgb(242, 47, 31) hsl(5, 89%, 54%) Red
#1ff22f rgb(31, 242, 47) hsl(125, 89%, 54%) Lime