#2d205e ≈ Midnight Blue
#2d205e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 12.55% green and 36.86% blue; printed in CMYK it uses 52.13% cyan, 65.96% magenta, 0% yellow and 63.14% black. Its hue angle is 252.58°, with 49.21% saturation and 24.71% 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.19:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.51.
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.024 |
Shades
#2d205e mixed progressively with black.
Tints
#2d205e mixed progressively with white.
Tones
#2d205e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d205e {
color: #2d205e;
}
.bg-2d205e {
background-color: #2d205e;
color: #ffffff;
}
.border-2d205e {
border: 2px solid #2d205e;
}
:root {
--color-primary: #2d205e;
--color-primary-rgb: 45 32 94;
--color-primary-hsl: 253 49% 25%;
}
.gradient-2d205e {
background: linear-gradient(135deg, #2d205e, #4c205e);
}
.shadow-2d205e {
box-shadow: 0 8px 24px rgb(45 32 94 / 0.35);
}
Midnight Blue
#2d205e rgb(45, 32, 94) hsl(253, 49%, 25%) Midnight Blue
#515e20 rgb(81, 94, 32) hsl(73, 49%, 25%) Army Green
#5e2d20 rgb(94, 45, 32) hsl(13, 49%, 25%) Caput Mortuum
#205e2d rgb(32, 94, 45) hsl(133, 49%, 25%) Hunter Green