#282e6b ≈ Midnight Blue
#282e6b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 18.04% green and 41.96% blue; printed in CMYK it uses 62.62% cyan, 57.01% magenta, 0% yellow and 58.04% black. Its hue angle is 234.63°, with 45.58% saturation and 28.82% 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.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.87.
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.0347 |
Shades
#282e6b mixed progressively with black.
Tints
#282e6b mixed progressively with white.
Tones
#282e6b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-282e6b {
color: #282e6b;
}
.bg-282e6b {
background-color: #282e6b;
color: #ffffff;
}
.border-282e6b {
border: 2px solid #282e6b;
}
:root {
--color-primary: #282e6b;
--color-primary-rgb: 40 46 107;
--color-primary-hsl: 235 46% 29%;
}
.gradient-282e6b {
background: linear-gradient(135deg, #282e6b, #43286b);
}
.shadow-282e6b {
box-shadow: 0 8px 24px rgb(40 46 107 / 0.35);
}
Midnight Blue
#282e6b rgb(40, 46, 107) hsl(235, 46%, 29%) Midnight Blue
#6b6528 rgb(107, 101, 40) hsl(55, 46%, 29%) Field Drab
#6b282e rgb(107, 40, 46) hsl(355, 46%, 29%) Wine
#2e6b28 rgb(46, 107, 40) hsl(115, 46%, 29%) Pakistan Green