#181d5a ≈ Midnight Blue
#181d5a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 11.37% green and 35.29% blue; printed in CMYK it uses 73.33% cyan, 67.78% magenta, 0% yellow and 64.71% black. Its hue angle is 235.45°, with 57.89% saturation and 22.35% 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 15.42:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0181 |
Shades
#181d5a mixed progressively with black.
Tints
#181d5a mixed progressively with white.
Tones
#181d5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-181d5a {
color: #181d5a;
}
.bg-181d5a {
background-color: #181d5a;
color: #ffffff;
}
.border-181d5a {
border: 2px solid #181d5a;
}
:root {
--color-primary: #181d5a;
--color-primary-rgb: 24 29 90;
--color-primary-hsl: 235 58% 22%;
}
.gradient-181d5a {
background: linear-gradient(135deg, #181d5a, #34185a);
}
.shadow-181d5a {
box-shadow: 0 8px 24px rgb(24 29 90 / 0.35);
}
Midnight Blue
#181d5a rgb(24, 29, 90) hsl(235, 58%, 22%) Midnight Blue
#5a5518 rgb(90, 85, 24) hsl(55, 58%, 22%) Army Green
#5a181d rgb(90, 24, 29) hsl(355, 58%, 22%) Caput Mortuum
#1d5a18 rgb(29, 90, 24) hsl(115, 58%, 22%) Lincoln Green