#0c1375 ≈ Midnight Blue
#0c1375 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 7.45% green and 45.88% blue; printed in CMYK it uses 89.74% cyan, 83.76% magenta, 0% yellow and 54.12% black. Its hue angle is 236°, with 81.4% saturation and 25.29% 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.38:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.94.
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.0183 |
Shades
#0c1375 mixed progressively with black.
Tints
#0c1375 mixed progressively with white.
Tones
#0c1375 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c1375 {
color: #0c1375;
}
.bg-0c1375 {
background-color: #0c1375;
color: #ffffff;
}
.border-0c1375 {
border: 2px solid #0c1375;
}
:root {
--color-primary: #0c1375;
--color-primary-rgb: 12 19 117;
--color-primary-hsl: 236 81% 25%;
}
.gradient-0c1375 {
background: linear-gradient(135deg, #0c1375, #390c75);
}
.shadow-0c1375 {
box-shadow: 0 8px 24px rgb(12 19 117 / 0.35);
}
Midnight Blue
#0c1375 rgb(12, 19, 117) hsl(236, 81%, 25%) Midnight Blue
#756e0c rgb(117, 110, 12) hsl(56, 81%, 25%) Olive
#750c13 rgb(117, 12, 19) hsl(356, 81%, 25%) Falu Red
#13750c rgb(19, 117, 12) hsl(116, 81%, 25%) Green