#27104f ≈ Midnight Blue
#27104f is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 15.29% red, 6.27% green and 30.98% blue; printed in CMYK it uses 50.63% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 261.9°, 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.49:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.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.0137 |
Shades
#27104f mixed progressively with black.
Tints
#27104f mixed progressively with white.
Tones
#27104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-27104f {
color: #27104f;
}
.bg-27104f {
background-color: #27104f;
color: #ffffff;
}
.border-27104f {
border: 2px solid #27104f;
}
:root {
--color-primary: #27104f;
--color-primary-rgb: 39 16 79;
--color-primary-hsl: 262 66% 19%;
}
.gradient-27104f {
background: linear-gradient(135deg, #27104f, #47104f);
}
.shadow-27104f {
box-shadow: 0 8px 24px rgb(39 16 79 / 0.35);
}
Midnight Blue
#27104f rgb(39, 16, 79) hsl(262, 66%, 19%) Midnight Blue
#384f10 rgb(56, 79, 16) hsl(82, 66%, 19%) Army Green
#4f2710 rgb(79, 39, 16) hsl(22, 66%, 19%) Caput Mortuum
#104f27 rgb(16, 79, 39) hsl(142, 66%, 19%) British Racing Green