#28094d ≈ Midnight Blue
#28094d is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 3.53% green and 30.2% blue; printed in CMYK it uses 48.05% cyan, 88.31% magenta, 0% yellow and 69.8% black. Its hue angle is 267.35°, with 79.07% saturation and 16.86% 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.98:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.92.
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.0118 |
Shades
#28094d mixed progressively with black.
Tints
#28094d mixed progressively with white.
Tones
#28094d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28094d {
color: #28094d;
}
.bg-28094d {
background-color: #28094d;
color: #ffffff;
}
.border-28094d {
border: 2px solid #28094d;
}
:root {
--color-primary: #28094d;
--color-primary-rgb: 40 9 77;
--color-primary-hsl: 267 79% 17%;
}
.gradient-28094d {
background: linear-gradient(135deg, #28094d, #4a094d);
}
.shadow-28094d {
box-shadow: 0 8px 24px rgb(40 9 77 / 0.35);
}
Midnight Blue
#28094d rgb(40, 9, 77) hsl(267, 79%, 17%) Midnight Blue
#2e4d09 rgb(46, 77, 9) hsl(87, 79%, 17%) Lincoln Green
#4d2809 rgb(77, 40, 9) hsl(27, 79%, 17%) Bistre
#094d28 rgb(9, 77, 40) hsl(147, 79%, 17%) British Racing Green