#2d2255 ≈ Midnight Blue
#2d2255 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 17.65% red, 13.33% green and 33.33% blue; printed in CMYK it uses 47.06% cyan, 60% magenta, 0% yellow and 66.67% black. Its hue angle is 252.94°, with 42.86% saturation and 23.33% 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.27:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.82.
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.0236 |
Shades
#2d2255 mixed progressively with black.
Tints
#2d2255 mixed progressively with white.
Tones
#2d2255 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d2255 {
color: #2d2255;
}
.bg-2d2255 {
background-color: #2d2255;
color: #ffffff;
}
.border-2d2255 {
border: 2px solid #2d2255;
}
:root {
--color-primary: #2d2255;
--color-primary-rgb: 45 34 85;
--color-primary-hsl: 253 43% 23%;
}
.gradient-2d2255 {
background: linear-gradient(135deg, #2d2255, #462255);
}
.shadow-2d2255 {
box-shadow: 0 8px 24px rgb(45 34 85 / 0.35);
}
Midnight Blue
#2d2255 rgb(45, 34, 85) hsl(253, 43%, 23%) Midnight Blue
#4a5522 rgb(74, 85, 34) hsl(73, 43%, 23%) Army Green
#552d22 rgb(85, 45, 34) hsl(13, 43%, 23%) Caput Mortuum
#22552d rgb(34, 85, 45) hsl(133, 43%, 23%) Hunter Green