#2f12ea ≈ Blue
#2f12ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 7.06% green and 91.76% blue; printed in CMYK it uses 79.91% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 248.06°, with 85.71% saturation and 49.41% 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.77:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.08.
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.0698 |
Shades
#2f12ea mixed progressively with black.
Tints
#2f12ea mixed progressively with white.
Tones
#2f12ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f12ea {
color: #2f12ea;
}
.bg-2f12ea {
background-color: #2f12ea;
color: #ffffff;
}
.border-2f12ea {
border: 2px solid #2f12ea;
}
:root {
--color-primary: #2f12ea;
--color-primary-rgb: 47 18 234;
--color-primary-hsl: 248 86% 49%;
}
.gradient-2f12ea {
background: linear-gradient(135deg, #2f12ea, #9b12ea);
}
.shadow-2f12ea {
box-shadow: 0 8px 24px rgb(47 18 234 / 0.35);
}
Blue
#2f12ea rgb(47, 18, 234) hsl(248, 86%, 49%) Blue
#cdea12 rgb(205, 234, 18) hsl(68, 86%, 49%) Pear
#ea2f12 rgb(234, 47, 18) hsl(8, 86%, 49%) Red
#12ea2f rgb(18, 234, 47) hsl(128, 86%, 49%) Lime