#0812cc ≈ Medium Blue
#0812cc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 7.06% green and 80% blue; printed in CMYK it uses 96.08% cyan, 91.18% magenta, 0% yellow and 20% black. Its hue angle is 236.94°, with 92.45% saturation and 41.57% 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.67:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0484 |
Shades
#0812cc mixed progressively with black.
Tints
#0812cc mixed progressively with white.
Tones
#0812cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0812cc {
color: #0812cc;
}
.bg-0812cc {
background-color: #0812cc;
color: #ffffff;
}
.border-0812cc {
border: 2px solid #0812cc;
}
:root {
--color-primary: #0812cc;
--color-primary-rgb: 8 18 204;
--color-primary-hsl: 237 92% 42%;
}
.gradient-0812cc {
background: linear-gradient(135deg, #0812cc, #6008cc);
}
.shadow-0812cc {
box-shadow: 0 8px 24px rgb(8 18 204 / 0.35);
}
Medium Blue
#0812cc rgb(8, 18, 204) hsl(237, 92%, 42%) Medium Blue
#ccc208 rgb(204, 194, 8) hsl(57, 92%, 42%) Citrine
#cc0812 rgb(204, 8, 18) hsl(357, 92%, 42%) Venetian Red
#12cc08 rgb(18, 204, 8) hsl(117, 92%, 42%) Lime Green