#2f04ff ≈ Ultramarine
#2f04ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 1.57% green and 100% blue; printed in CMYK it uses 81.57% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 250.28°, with 100% saturation and 50.78% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 8.13:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.93.
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.0791 |
Shades
#2f04ff mixed progressively with black.
Tints
#2f04ff mixed progressively with white.
Tones
#2f04ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f04ff {
color: #2f04ff;
}
.bg-2f04ff {
background-color: #2f04ff;
color: #ffffff;
}
.border-2f04ff {
border: 2px solid #2f04ff;
}
:root {
--color-primary: #2f04ff;
--color-primary-rgb: 47 4 255;
--color-primary-hsl: 250 100% 51%;
}
.gradient-2f04ff {
background: linear-gradient(135deg, #2f04ff, #ac04ff);
}
.shadow-2f04ff {
box-shadow: 0 8px 24px rgb(47 4 255 / 0.35);
}
Ultramarine
#2f04ff rgb(47, 4, 255) hsl(250, 100%, 51%) Ultramarine
#d4ff04 rgb(212, 255, 4) hsl(70, 100%, 51%) Electric Lime
#ff2f04 rgb(255, 47, 4) hsl(10, 100%, 51%) Ferrari Red
#04ff2f rgb(4, 255, 47) hsl(130, 100%, 51%) Lime