#2f04da ≈ Medium Blue
#2f04da 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 85.49% blue; printed in CMYK it uses 78.44% cyan, 98.17% magenta, 0% yellow and 14.51% black. Its hue angle is 252.06°, with 96.4% saturation and 43.53% 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 9.76:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.97.
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.0575 |
Shades
#2f04da mixed progressively with black.
Tints
#2f04da mixed progressively with white.
Tones
#2f04da mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f04da {
color: #2f04da;
}
.bg-2f04da {
background-color: #2f04da;
color: #ffffff;
}
.border-2f04da {
border: 2px solid #2f04da;
}
:root {
--color-primary: #2f04da;
--color-primary-rgb: 47 4 218;
--color-primary-hsl: 252 96% 44%;
}
.gradient-2f04da {
background: linear-gradient(135deg, #2f04da, #9a04da);
}
.shadow-2f04da {
box-shadow: 0 8px 24px rgb(47 4 218 / 0.35);
}
Medium Blue
#2f04da rgb(47, 4, 218) hsl(252, 96%, 44%) Medium Blue
#afda04 rgb(175, 218, 4) hsl(72, 96%, 44%) June Bud
#da2f04 rgb(218, 47, 4) hsl(12, 96%, 44%) Sinopia
#04da2f rgb(4, 218, 47) hsl(132, 96%, 44%) Malachite