#28104f ≈ Midnight Blue
#28104f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.69% red, 6.27% green and 30.98% blue; printed in CMYK it uses 49.37% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 262.86°, with 66.32% saturation and 18.63% 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 16.44:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0139 |
Shades
#28104f mixed progressively with black.
Tints
#28104f mixed progressively with white.
Tones
#28104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28104f {
color: #28104f;
}
.bg-28104f {
background-color: #28104f;
color: #ffffff;
}
.border-28104f {
border: 2px solid #28104f;
}
:root {
--color-primary: #28104f;
--color-primary-rgb: 40 16 79;
--color-primary-hsl: 263 66% 19%;
}
.gradient-28104f {
background: linear-gradient(135deg, #28104f, #48104f);
}
.shadow-28104f {
box-shadow: 0 8px 24px rgb(40 16 79 / 0.35);
}
Midnight Blue
#28104f rgb(40, 16, 79) hsl(263, 66%, 19%) Midnight Blue
#374f10 rgb(55, 79, 16) hsl(83, 66%, 19%) Army Green
#4f2810 rgb(79, 40, 16) hsl(23, 66%, 19%) Caput Mortuum
#104f28 rgb(16, 79, 40) hsl(143, 66%, 19%) British Racing Green