#050f5f ≈ Midnight Blue
#050f5f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 5.88% green and 37.25% blue; printed in CMYK it uses 94.74% cyan, 84.21% magenta, 0% yellow and 62.75% black. Its hue angle is 233.33°, with 90% saturation and 19.61% 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 16.94:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.52.
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.012 |
Shades
#050f5f mixed progressively with black.
Tints
#050f5f mixed progressively with white.
Tones
#050f5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-050f5f {
color: #050f5f;
}
.bg-050f5f {
background-color: #050f5f;
color: #ffffff;
}
.border-050f5f {
border: 2px solid #050f5f;
}
:root {
--color-primary: #050f5f;
--color-primary-rgb: 5 15 95;
--color-primary-hsl: 233 90% 20%;
}
.gradient-050f5f {
background: linear-gradient(135deg, #050f5f, #28055f);
}
.shadow-050f5f {
box-shadow: 0 8px 24px rgb(5 15 95 / 0.35);
}
Midnight Blue
#050f5f rgb(5, 15, 95) hsl(233, 90%, 20%) Midnight Blue
#5f5505 rgb(95, 85, 5) hsl(53, 90%, 20%) Field Drab
#5f050f rgb(95, 5, 15) hsl(353, 90%, 20%) Rosewood
#0f5f05 rgb(15, 95, 5) hsl(113, 90%, 20%) Dark Green