#20008b ≈ Dark Blue
#20008b is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 12.55% red, 0% green and 54.51% blue; printed in CMYK it uses 76.98% cyan, 100% magenta, 0% yellow and 45.49% black. Its hue angle is 253.81°, with 100% saturation and 27.25% 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.64:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 1.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0217 |
Shades
#20008b mixed progressively with black.
Tints
#20008b mixed progressively with white.
Tones
#20008b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-20008b {
color: #20008b;
}
.bg-20008b {
background-color: #20008b;
color: #ffffff;
}
.border-20008b {
border: 2px solid #20008b;
}
:root {
--color-primary: #20008b;
--color-primary-rgb: 32 0 139;
--color-primary-hsl: 254 100% 27%;
}
.gradient-20008b {
background: linear-gradient(135deg, #20008b, #65008b);
}
.shadow-20008b {
box-shadow: 0 8px 24px rgb(32 0 139 / 0.35);
}
Dark Blue
#20008b rgb(32, 0, 139) hsl(254, 100%, 27%) Dark Blue
#6b8b00 rgb(107, 139, 0) hsl(74, 100%, 27%) Olive Drab
#8b2000 rgb(139, 32, 0) hsl(14, 100%, 27%) Kobe
#008b20 rgb(0, 139, 32) hsl(134, 100%, 27%) Forest Green