#271968 ≈ Midnight Blue
#271968 is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 15.29% red, 9.8% green and 40.78% blue; printed in CMYK it uses 62.5% cyan, 75.96% magenta, 0% yellow and 59.22% black. Its hue angle is 250.63°, with 61.24% saturation and 25.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 14.73:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.49.
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.0213 |
Shades
#271968 mixed progressively with black.
Tints
#271968 mixed progressively with white.
Tones
#271968 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-271968 {
color: #271968;
}
.bg-271968 {
background-color: #271968;
color: #ffffff;
}
.border-271968 {
border: 2px solid #271968;
}
:root {
--color-primary: #271968;
--color-primary-rgb: 39 25 104;
--color-primary-hsl: 251 61% 25%;
}
.gradient-271968 {
background: linear-gradient(135deg, #271968, #4e1968);
}
.shadow-271968 {
box-shadow: 0 8px 24px rgb(39 25 104 / 0.35);
}
Midnight Blue
#271968 rgb(39, 25, 104) hsl(251, 61%, 25%) Midnight Blue
#5a6819 rgb(90, 104, 25) hsl(71, 61%, 25%) Dark Olive Green
#682719 rgb(104, 39, 25) hsl(11, 61%, 25%) Caput Mortuum
#196827 rgb(25, 104, 39) hsl(131, 61%, 25%) Pakistan Green