#0c1961 ≈ Midnight Blue
#0c1961 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 9.8% green and 38.04% blue; printed in CMYK it uses 87.63% cyan, 74.23% magenta, 0% yellow and 61.96% black. Its hue angle is 230.82°, with 77.98% saturation and 21.37% 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 15.82:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.08.
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.0164 |
Shades
#0c1961 mixed progressively with black.
Tints
#0c1961 mixed progressively with white.
Tones
#0c1961 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c1961 {
color: #0c1961;
}
.bg-0c1961 {
background-color: #0c1961;
color: #ffffff;
}
.border-0c1961 {
border: 2px solid #0c1961;
}
:root {
--color-primary: #0c1961;
--color-primary-rgb: 12 25 97;
--color-primary-hsl: 231 78% 21%;
}
.gradient-0c1961 {
background: linear-gradient(135deg, #0c1961, #290c61);
}
.shadow-0c1961 {
box-shadow: 0 8px 24px rgb(12 25 97 / 0.35);
}
Midnight Blue
#0c1961 rgb(12, 25, 97) hsl(231, 78%, 21%) Midnight Blue
#61540c rgb(97, 84, 12) hsl(51, 78%, 21%) Field Drab
#610c19 rgb(97, 12, 25) hsl(351, 78%, 21%) Rosewood
#19610c rgb(25, 97, 12) hsl(111, 78%, 21%) Dark Green