#42299d ≈ Imperial Blue
#42299d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.88% red, 16.08% green and 61.57% blue; printed in CMYK it uses 57.96% cyan, 73.89% magenta, 0% yellow and 38.43% black. Its hue angle is 252.93°, with 58.59% saturation and 38.82% 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 brand accents. White text on this color reaches a contrast ratio of 10.32:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 5.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0518 |
Shades
#42299d mixed progressively with black.
Tints
#42299d mixed progressively with white.
Tones
#42299d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-42299d {
color: #42299d;
}
.bg-42299d {
background-color: #42299d;
color: #ffffff;
}
.border-42299d {
border: 2px solid #42299d;
}
:root {
--color-primary: #42299d;
--color-primary-rgb: 66 41 157;
--color-primary-hsl: 253 59% 39%;
}
.gradient-42299d {
background: linear-gradient(135deg, #42299d, #7c299d);
}
.shadow-42299d {
box-shadow: 0 8px 24px rgb(66 41 157 / 0.35);
}
Imperial Blue
#42299d rgb(66, 41, 157) hsl(253, 59%, 39%) Imperial Blue
#849d29 rgb(132, 157, 41) hsl(73, 59%, 39%) Olive Drab
#9d4229 rgb(157, 66, 41) hsl(13, 59%, 39%) Chestnut
#299d42 rgb(41, 157, 66) hsl(133, 59%, 39%) Shamrock Green