#0f104f ≈ Midnight Blue
#0f104f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 5.88% red, 6.27% green and 30.98% blue; printed in CMYK it uses 81.01% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 239.06°, with 68.09% saturation and 18.43% 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 17.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.78.
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.0104 |
Shades
#0f104f mixed progressively with black.
Tints
#0f104f mixed progressively with white.
Tones
#0f104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f104f {
color: #0f104f;
}
.bg-0f104f {
background-color: #0f104f;
color: #ffffff;
}
.border-0f104f {
border: 2px solid #0f104f;
}
:root {
--color-primary: #0f104f;
--color-primary-rgb: 15 16 79;
--color-primary-hsl: 239 68% 18%;
}
.gradient-0f104f {
background: linear-gradient(135deg, #0f104f, #2e0f4f);
}
.shadow-0f104f {
box-shadow: 0 8px 24px rgb(15 16 79 / 0.35);
}
Midnight Blue
#0f104f rgb(15, 16, 79) hsl(239, 68%, 18%) Midnight Blue
#4f4e0f rgb(79, 78, 15) hsl(59, 68%, 18%) Army Green
#4f0f10 rgb(79, 15, 16) hsl(359, 68%, 18%) Rosewood
#104f0f rgb(16, 79, 15) hsl(119, 68%, 18%) Lincoln Green