#2d02ca ≈ Medium Blue
#2d02ca is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 17.65% red, 0.78% green and 79.22% blue; printed in CMYK it uses 77.72% cyan, 99.01% magenta, 0% yellow and 20.78% black. Its hue angle is 252.9°, with 98.04% saturation and 40% 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.64:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.62.
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.0487 |
Shades
#2d02ca mixed progressively with black.
Tints
#2d02ca mixed progressively with white.
Tones
#2d02ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d02ca {
color: #2d02ca;
}
.bg-2d02ca {
background-color: #2d02ca;
color: #ffffff;
}
.border-2d02ca {
border: 2px solid #2d02ca;
}
:root {
--color-primary: #2d02ca;
--color-primary-rgb: 45 2 202;
--color-primary-hsl: 253 98% 40%;
}
.gradient-2d02ca {
background: linear-gradient(135deg, #2d02ca, #9102ca);
}
.shadow-2d02ca {
box-shadow: 0 8px 24px rgb(45 2 202 / 0.35);
}
Medium Blue
#2d02ca rgb(45, 2, 202) hsl(253, 98%, 40%) Medium Blue
#9fca02 rgb(159, 202, 2) hsl(73, 98%, 40%) Yellow Green
#ca2d02 rgb(202, 45, 2) hsl(13, 98%, 40%) Rosso Corsa
#02ca2d rgb(2, 202, 45) hsl(133, 98%, 40%) Lime Green