#2f0cfa ≈ Ultramarine
#2f0cfa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 4.71% green and 98.04% blue; printed in CMYK it uses 81.2% cyan, 95.2% magenta, 0% yellow and 1.96% black. Its hue angle is 248.82°, with 95.97% saturation and 51.37% 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.22:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0777 |
Shades
#2f0cfa mixed progressively with black.
Tints
#2f0cfa mixed progressively with white.
Tones
#2f0cfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f0cfa {
color: #2f0cfa;
}
.bg-2f0cfa {
background-color: #2f0cfa;
color: #ffffff;
}
.border-2f0cfa {
border: 2px solid #2f0cfa;
}
:root {
--color-primary: #2f0cfa;
--color-primary-rgb: 47 12 250;
--color-primary-hsl: 249 96% 51%;
}
.gradient-2f0cfa {
background: linear-gradient(135deg, #2f0cfa, #a60cfa);
}
.shadow-2f0cfa {
box-shadow: 0 8px 24px rgb(47 12 250 / 0.35);
}
Ultramarine
#2f0cfa rgb(47, 12, 250) hsl(249, 96%, 51%) Ultramarine
#d7fa0c rgb(215, 250, 12) hsl(69, 96%, 51%) Chartreuse Yellow
#fa2f0c rgb(250, 47, 12) hsl(9, 96%, 51%) Scarlet
#0cfa2f rgb(12, 250, 47) hsl(129, 96%, 51%) Lime