#2012cc ≈ Medium Blue
#2012cc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 12.55% red, 7.06% green and 80% blue; printed in CMYK it uses 84.31% cyan, 91.18% magenta, 0% yellow and 20% black. Its hue angle is 244.52°, with 83.78% saturation and 43.53% 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 10.4:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.76.
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.051 |
Shades
#2012cc mixed progressively with black.
Tints
#2012cc mixed progressively with white.
Tones
#2012cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2012cc {
color: #2012cc;
}
.bg-2012cc {
background-color: #2012cc;
color: #ffffff;
}
.border-2012cc {
border: 2px solid #2012cc;
}
:root {
--color-primary: #2012cc;
--color-primary-rgb: 32 18 204;
--color-primary-hsl: 245 84% 44%;
}
.gradient-2012cc {
background: linear-gradient(135deg, #2012cc, #7d12cc);
}
.shadow-2012cc {
box-shadow: 0 8px 24px rgb(32 18 204 / 0.35);
}
Medium Blue
#2012cc rgb(32, 18, 204) hsl(245, 84%, 44%) Medium Blue
#becc12 rgb(190, 204, 18) hsl(65, 84%, 44%) Pear
#cc2012 rgb(204, 32, 18) hsl(5, 84%, 44%) Rosso Corsa
#12cc20 rgb(18, 204, 32) hsl(125, 84%, 44%) Lime Green