#21049a ≈ Dark Blue
#21049a is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 12.94% red, 1.57% green and 60.39% blue; printed in CMYK it uses 78.57% cyan, 97.4% magenta, 0% yellow and 39.61% black. Its hue angle is 251.6°, with 94.94% saturation and 30.98% 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 corporate identities. White text on this color reaches a contrast ratio of 13.56:1 (WCAG AAA). The closest named color is Dark Blue (#00008b), ΔE 2.98.
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.0274 |
Shades
#21049a mixed progressively with black.
Tints
#21049a mixed progressively with white.
Tones
#21049a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-21049a {
color: #21049a;
}
.bg-21049a {
background-color: #21049a;
color: #ffffff;
}
.border-21049a {
border: 2px solid #21049a;
}
:root {
--color-primary: #21049a;
--color-primary-rgb: 33 4 154;
--color-primary-hsl: 252 95% 31%;
}
.gradient-21049a {
background: linear-gradient(135deg, #21049a, #6c049a);
}
.shadow-21049a {
box-shadow: 0 8px 24px rgb(33 4 154 / 0.35);
}
Dark Blue
#21049a rgb(33, 4, 154) hsl(252, 95%, 31%) Dark Blue
#7d9a04 rgb(125, 154, 4) hsl(72, 95%, 31%) Olive Drab
#9a2104 rgb(154, 33, 4) hsl(12, 95%, 31%) Rufous
#049a21 rgb(4, 154, 33) hsl(132, 95%, 31%) Islamic Green