#2f206d ≈ Midnight Blue
#2f206d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 12.55% green and 42.75% blue; printed in CMYK it uses 56.88% cyan, 70.64% magenta, 0% yellow and 57.25% black. Its hue angle is 251.69°, with 54.61% saturation and 27.65% 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 13.56:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.52.
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.0274 |
Shades
#2f206d mixed progressively with black.
Tints
#2f206d mixed progressively with white.
Tones
#2f206d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f206d {
color: #2f206d;
}
.bg-2f206d {
background-color: #2f206d;
color: #ffffff;
}
.border-2f206d {
border: 2px solid #2f206d;
}
:root {
--color-primary: #2f206d;
--color-primary-rgb: 47 32 109;
--color-primary-hsl: 252 55% 28%;
}
.gradient-2f206d {
background: linear-gradient(135deg, #2f206d, #56206d);
}
.shadow-2f206d {
box-shadow: 0 8px 24px rgb(47 32 109 / 0.35);
}
Midnight Blue
#2f206d rgb(47, 32, 109) hsl(252, 55%, 28%) Midnight Blue
#5e6d20 rgb(94, 109, 32) hsl(72, 55%, 28%) Dark Olive Green
#6d2f20 rgb(109, 47, 32) hsl(12, 55%, 28%) Caput Mortuum
#206d2f rgb(32, 109, 47) hsl(132, 55%, 28%) Cadmium Green