#180648 ≈ Midnight Blue
#180648 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 2.35% green and 28.24% blue; printed in CMYK it uses 66.67% cyan, 91.67% magenta, 0% yellow and 71.76% black. Its hue angle is 256.36°, with 84.62% saturation and 15.29% 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.13:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0079 |
Shades
#180648 mixed progressively with black.
Tints
#180648 mixed progressively with white.
Tones
#180648 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-180648 {
color: #180648;
}
.bg-180648 {
background-color: #180648;
color: #ffffff;
}
.border-180648 {
border: 2px solid #180648;
}
:root {
--color-primary: #180648;
--color-primary-rgb: 24 6 72;
--color-primary-hsl: 256 85% 15%;
}
.gradient-180648 {
background: linear-gradient(135deg, #180648, #390648);
}
.shadow-180648 {
box-shadow: 0 8px 24px rgb(24 6 72 / 0.35);
}
Midnight Blue
#180648 rgb(24, 6, 72) hsl(256, 85%, 15%) Midnight Blue
#364806 rgb(54, 72, 6) hsl(76, 85%, 15%) Army Green
#481806 rgb(72, 24, 6) hsl(16, 85%, 15%) Caput Mortuum
#064818 rgb(6, 72, 24) hsl(136, 85%, 15%) British Racing Green