#3d285e ≈ Midnight Blue
#3d285e is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 23.92% red, 15.69% green and 36.86% blue; printed in CMYK it uses 35.11% cyan, 57.45% magenta, 0% yellow and 63.14% black. Its hue angle is 263.33°, with 40.3% saturation and 26.27% 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 12.62:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.2.
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.0332 |
Shades
#3d285e mixed progressively with black.
Tints
#3d285e mixed progressively with white.
Tones
#3d285e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-3d285e {
color: #3d285e;
}
.bg-3d285e {
background-color: #3d285e;
color: #ffffff;
}
.border-3d285e {
border: 2px solid #3d285e;
}
:root {
--color-primary: #3d285e;
--color-primary-rgb: 61 40 94;
--color-primary-hsl: 263 40% 26%;
}
.gradient-3d285e {
background: linear-gradient(135deg, #3d285e, #58285e);
}
.shadow-3d285e {
box-shadow: 0 8px 24px rgb(61 40 94 / 0.35);
}
Midnight Blue
#3d285e rgb(61, 40, 94) hsl(263, 40%, 26%) Midnight Blue
#495e28 rgb(73, 94, 40) hsl(83, 40%, 26%) Dark Olive Green
#5e3d28 rgb(94, 61, 40) hsl(23, 40%, 26%) Coffee
#285e3d rgb(40, 94, 61) hsl(143, 40%, 26%) Hunter Green