#21028f ≈ Dark Blue
#21028f is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 12.94% red, 0.78% green and 56.08% blue; printed in CMYK it uses 76.92% cyan, 98.6% magenta, 0% yellow and 43.92% black. Its hue angle is 253.19°, with 97.24% saturation and 28.43% 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.29:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 1.95.
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.0235 |
Shades
#21028f mixed progressively with black.
Tints
#21028f mixed progressively with white.
Tones
#21028f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-21028f {
color: #21028f;
}
.bg-21028f {
background-color: #21028f;
color: #ffffff;
}
.border-21028f {
border: 2px solid #21028f;
}
:root {
--color-primary: #21028f;
--color-primary-rgb: 33 2 143;
--color-primary-hsl: 253 97% 28%;
}
.gradient-21028f {
background: linear-gradient(135deg, #21028f, #67028f);
}
.shadow-21028f {
box-shadow: 0 8px 24px rgb(33 2 143 / 0.35);
}
Dark Blue
#21028f rgb(33, 2, 143) hsl(253, 97%, 28%) Dark Blue
#708f02 rgb(112, 143, 2) hsl(73, 97%, 28%) Olive Drab
#8f2102 rgb(143, 33, 2) hsl(13, 97%, 28%) Kobe
#028f21 rgb(2, 143, 33) hsl(133, 97%, 28%) Forest Green