#281566 ≈ Midnight Blue
#281566 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 8.24% green and 40% blue; printed in CMYK it uses 60.78% cyan, 79.41% magenta, 0% yellow and 60% black. Its hue angle is 254.07°, with 65.85% saturation and 24.12% 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 15.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.1.
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.0195 |
Shades
#281566 mixed progressively with black.
Tints
#281566 mixed progressively with white.
Tones
#281566 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-281566 {
color: #281566;
}
.bg-281566 {
background-color: #281566;
color: #ffffff;
}
.border-281566 {
border: 2px solid #281566;
}
:root {
--color-primary: #281566;
--color-primary-rgb: 40 21 102;
--color-primary-hsl: 254 66% 24%;
}
.gradient-281566 {
background: linear-gradient(135deg, #281566, #511566);
}
.shadow-281566 {
box-shadow: 0 8px 24px rgb(40 21 102 / 0.35);
}
Midnight Blue
#281566 rgb(40, 21, 102) hsl(254, 66%, 24%) Midnight Blue
#536615 rgb(83, 102, 21) hsl(74, 66%, 24%) Dark Olive Green
#662815 rgb(102, 40, 21) hsl(14, 66%, 24%) Caput Mortuum
#156628 rgb(21, 102, 40) hsl(134, 66%, 24%) Cadmium Green