#2f103d ≈ Midnight Blue
#2f103d is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 18.43% red, 6.27% green and 23.92% blue; printed in CMYK it uses 22.95% cyan, 73.77% magenta, 0% yellow and 76.08% black. Its hue angle is 281.33°, with 58.44% saturation and 15.1% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 12.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0131 |
Shades
#2f103d mixed progressively with black.
Tints
#2f103d mixed progressively with white.
Tones
#2f103d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f103d {
color: #2f103d;
}
.bg-2f103d {
background-color: #2f103d;
color: #ffffff;
}
.border-2f103d {
border: 2px solid #2f103d;
}
:root {
--color-primary: #2f103d;
--color-primary-rgb: 47 16 61;
--color-primary-hsl: 281 58% 15%;
}
.gradient-2f103d {
background: linear-gradient(135deg, #2f103d, #3d1035);
}
.shadow-2f103d {
box-shadow: 0 8px 24px rgb(47 16 61 / 0.35);
}
Midnight Blue
#2f103d rgb(47, 16, 61) hsl(281, 58%, 15%) Midnight Blue
#1e3d10 rgb(30, 61, 16) hsl(101, 58%, 15%) British Racing Green
#3d2f10 rgb(61, 47, 16) hsl(41, 58%, 15%) Bistre
#103d2f rgb(16, 61, 47) hsl(161, 58%, 15%) Phthalo Green