#2f0fc2 ≈ Medium Blue
#2f0fc2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 5.88% green and 76.08% blue; printed in CMYK it uses 75.77% cyan, 92.27% magenta, 0% yellow and 23.92% black. Its hue angle is 250.73°, with 85.65% saturation and 40.98% 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 10.67:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3300cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0484 |
Shades
#2f0fc2 mixed progressively with black.
Tints
#2f0fc2 mixed progressively with white.
Tones
#2f0fc2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f0fc2 {
color: #2f0fc2;
}
.bg-2f0fc2 {
background-color: #2f0fc2;
color: #ffffff;
}
.border-2f0fc2 {
border: 2px solid #2f0fc2;
}
:root {
--color-primary: #2f0fc2;
--color-primary-rgb: 47 15 194;
--color-primary-hsl: 251 86% 41%;
}
.gradient-2f0fc2 {
background: linear-gradient(135deg, #2f0fc2, #890fc2);
}
.shadow-2f0fc2 {
box-shadow: 0 8px 24px rgb(47 15 194 / 0.35);
}
Medium Blue
#2f0fc2 rgb(47, 15, 194) hsl(251, 86%, 41%) Medium Blue
#a2c20f rgb(162, 194, 15) hsl(71, 86%, 41%) Apple Green
#c22f0f rgb(194, 47, 15) hsl(11, 86%, 41%) Rosso Corsa
#0fc22f rgb(15, 194, 47) hsl(131, 86%, 41%) Lime Green