#0c033c ≈ Midnight Blue
#0c033c is a color from the blue family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 1.18% green and 23.53% blue; printed in CMYK it uses 80% cyan, 95% magenta, 0% yellow and 76.47% black. Its hue angle is 249.47°, with 90.48% saturation and 12.35% 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 luxury branding. White text on this color reaches a contrast ratio of 19.2:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0047 |
Shades
#0c033c mixed progressively with black.
Tints
#0c033c mixed progressively with white.
Tones
#0c033c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c033c {
color: #0c033c;
}
.bg-0c033c {
background-color: #0c033c;
color: #ffffff;
}
.border-0c033c {
border: 2px solid #0c033c;
}
:root {
--color-primary: #0c033c;
--color-primary-rgb: 12 3 60;
--color-primary-hsl: 249 90% 12%;
}
.gradient-0c033c {
background: linear-gradient(135deg, #0c033c, #28033c);
}
.shadow-0c033c {
box-shadow: 0 8px 24px rgb(12 3 60 / 0.35);
}
Midnight Blue
#0c033c rgb(12, 3, 60) hsl(249, 90%, 12%) Midnight Blue
#333c03 rgb(51, 60, 3) hsl(69, 90%, 12%) Army Green
#3c0c03 rgb(60, 12, 3) hsl(9, 90%, 12%) Caput Mortuum
#033c0c rgb(3, 60, 12) hsl(129, 90%, 12%) British Racing Green