#0f024f ≈ Midnight Blue
#0f024f is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 0.78% green and 30.98% blue; printed in CMYK it uses 81.01% cyan, 97.47% magenta, 0% yellow and 69.02% black. Its hue angle is 250.13°, with 95.06% saturation and 15.88% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.91.
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.0071 |
Shades
#0f024f mixed progressively with black.
Tints
#0f024f mixed progressively with white.
Tones
#0f024f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f024f {
color: #0f024f;
}
.bg-0f024f {
background-color: #0f024f;
color: #ffffff;
}
.border-0f024f {
border: 2px solid #0f024f;
}
:root {
--color-primary: #0f024f;
--color-primary-rgb: 15 2 79;
--color-primary-hsl: 250 95% 16%;
}
.gradient-0f024f {
background: linear-gradient(135deg, #0f024f, #35024f);
}
.shadow-0f024f {
box-shadow: 0 8px 24px rgb(15 2 79 / 0.35);
}
Midnight Blue
#0f024f rgb(15, 2, 79) hsl(250, 95%, 16%) Midnight Blue
#424f02 rgb(66, 79, 2) hsl(70, 95%, 16%) Army Green
#4f0f02 rgb(79, 15, 2) hsl(10, 95%, 16%) Rosewood
#024f0f rgb(2, 79, 15) hsl(130, 95%, 16%) Lincoln Green