#2a303b ≈ Gunmetal
#2a303b is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 16.47% red, 18.82% green and 23.14% blue; printed in CMYK it uses 28.81% cyan, 18.64% magenta, 0% yellow and 76.86% black. Its hue angle is 218.82°, with 16.83% saturation and 19.8% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 13.25:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 5.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0292 |
Shades
#2a303b mixed progressively with black.
Tints
#2a303b mixed progressively with white.
Tones
#2a303b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a303b {
color: #2a303b;
}
.bg-2a303b {
background-color: #2a303b;
color: #ffffff;
}
.border-2a303b {
border: 2px solid #2a303b;
}
:root {
--color-primary: #2a303b;
--color-primary-rgb: 42 48 59;
--color-primary-hsl: 219 17% 20%;
}
.gradient-2a303b {
background: linear-gradient(135deg, #2a303b, #2c2a3b);
}
.shadow-2a303b {
box-shadow: 0 8px 24px rgb(42 48 59 / 0.35);
}
Gunmetal
#2a303b rgb(42, 48, 59) hsl(219, 17%, 20%) Gunmetal
#3b352a rgb(59, 53, 42) hsl(39, 17%, 20%) Taupe
#3b2a30 rgb(59, 42, 48) hsl(339, 17%, 20%) Licorice
#303b2a rgb(48, 59, 42) hsl(99, 17%, 20%) Rifle Green