#050d64 ≈ Midnight Blue
#050d64 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 5.1% green and 39.22% blue; printed in CMYK it uses 95% cyan, 87% magenta, 0% yellow and 60.78% black. Its hue angle is 234.95°, with 90.48% saturation and 20.59% 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.83:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.3.
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.0124 |
Shades
#050d64 mixed progressively with black.
Tints
#050d64 mixed progressively with white.
Tones
#050d64 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-050d64 {
color: #050d64;
}
.bg-050d64 {
background-color: #050d64;
color: #ffffff;
}
.border-050d64 {
border: 2px solid #050d64;
}
:root {
--color-primary: #050d64;
--color-primary-rgb: 5 13 100;
--color-primary-hsl: 235 90% 21%;
}
.gradient-050d64 {
background: linear-gradient(135deg, #050d64, #2d0564);
}
.shadow-050d64 {
box-shadow: 0 8px 24px rgb(5 13 100 / 0.35);
}
Midnight Blue
#050d64 rgb(5, 13, 100) hsl(235, 90%, 21%) Midnight Blue
#645c05 rgb(100, 92, 5) hsl(55, 90%, 21%) Field Drab
#64050d rgb(100, 5, 13) hsl(355, 90%, 21%) Rosewood
#0d6405 rgb(13, 100, 5) hsl(115, 90%, 21%) Dark Green