#2f2a67 ≈ Midnight Blue
#2f2a67 is a color from the blue family, with low lightness and muted saturation. In the RGB model it is made of 18.43% red, 16.47% green and 40.39% blue; printed in CMYK it uses 54.37% cyan, 59.22% magenta, 0% yellow and 59.61% black. Its hue angle is 244.92°, with 42.07% saturation and 28.43% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 12.74:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0324 |
Shades
#2f2a67 mixed progressively with black.
Tints
#2f2a67 mixed progressively with white.
Tones
#2f2a67 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f2a67 {
color: #2f2a67;
}
.bg-2f2a67 {
background-color: #2f2a67;
color: #ffffff;
}
.border-2f2a67 {
border: 2px solid #2f2a67;
}
:root {
--color-primary: #2f2a67;
--color-primary-rgb: 47 42 103;
--color-primary-hsl: 245 42% 28%;
}
.gradient-2f2a67 {
background: linear-gradient(135deg, #2f2a67, #4d2a67);
}
.shadow-2f2a67 {
box-shadow: 0 8px 24px rgb(47 42 103 / 0.35);
}
Midnight Blue
#2f2a67 rgb(47, 42, 103) hsl(245, 42%, 28%) Midnight Blue
#62672a rgb(98, 103, 42) hsl(65, 42%, 28%) Dark Olive Green
#672f2a rgb(103, 47, 42) hsl(5, 42%, 28%) Caput Mortuum
#2a672f rgb(42, 103, 47) hsl(125, 42%, 28%) Cadmium Green