#0c1956 ≈ Midnight Blue
#0c1956 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 9.8% green and 33.73% blue; printed in CMYK it uses 86.05% cyan, 70.93% magenta, 0% yellow and 66.27% black. Its hue angle is 229.46°, with 75.51% saturation and 19.22% 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 16.29:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.16.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0145 |
Shades
#0c1956 mixed progressively with black.
Tints
#0c1956 mixed progressively with white.
Tones
#0c1956 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c1956 {
color: #0c1956;
}
.bg-0c1956 {
background-color: #0c1956;
color: #ffffff;
}
.border-0c1956 {
border: 2px solid #0c1956;
}
:root {
--color-primary: #0c1956;
--color-primary-rgb: 12 25 86;
--color-primary-hsl: 229 76% 19%;
}
.gradient-0c1956 {
background: linear-gradient(135deg, #0c1956, #240c56);
}
.shadow-0c1956 {
box-shadow: 0 8px 24px rgb(12 25 86 / 0.35);
}
Midnight Blue
#0c1956 rgb(12, 25, 86) hsl(229, 76%, 19%) Midnight Blue
#56490c rgb(86, 73, 12) hsl(49, 76%, 19%) Field Drab
#560c19 rgb(86, 12, 25) hsl(349, 76%, 19%) Rosewood
#19560c rgb(25, 86, 12) hsl(109, 76%, 19%) Lincoln Green