#0f1972 ≈ Midnight Blue
#0f1972 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 9.8% green and 44.71% blue; printed in CMYK it uses 86.84% cyan, 78.07% magenta, 0% yellow and 55.29% black. Its hue angle is 233.94°, with 76.74% 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 14.97:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 0.95.
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.0201 |
Shades
#0f1972 mixed progressively with black.
Tints
#0f1972 mixed progressively with white.
Tones
#0f1972 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f1972 {
color: #0f1972;
}
.bg-0f1972 {
background-color: #0f1972;
color: #ffffff;
}
.border-0f1972 {
border: 2px solid #0f1972;
}
:root {
--color-primary: #0f1972;
--color-primary-rgb: 15 25 114;
--color-primary-hsl: 234 77% 25%;
}
.gradient-0f1972 {
background: linear-gradient(135deg, #0f1972, #360f72);
}
.shadow-0f1972 {
box-shadow: 0 8px 24px rgb(15 25 114 / 0.35);
}
Midnight Blue
#0f1972 rgb(15, 25, 114) hsl(234, 77%, 25%) Midnight Blue
#72680f rgb(114, 104, 15) hsl(54, 77%, 25%) Olive
#720f19 rgb(114, 15, 25) hsl(354, 77%, 25%) Rosewood
#19720f rgb(25, 114, 15) hsl(114, 77%, 25%) Pakistan Green