#334f5f ≈ Charcoal
#334f5f is a color from the azure family, with low lightness and muted saturation. In the RGB model it is made of 20% red, 30.98% green and 37.25% blue; printed in CMYK it uses 46.32% cyan, 16.84% magenta, 0% yellow and 62.75% black. Its hue angle is 201.82°, with 30.14% saturation and 28.63% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 8.66:1 (WCAG AAA). The closest named color is Charcoal (#36454f), ΔE 4.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0712 |
Shades
#334f5f mixed progressively with black.
Tints
#334f5f mixed progressively with white.
Tones
#334f5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-334f5f {
color: #334f5f;
}
.bg-334f5f {
background-color: #334f5f;
color: #ffffff;
}
.border-334f5f {
border: 2px solid #334f5f;
}
:root {
--color-primary: #334f5f;
--color-primary-rgb: 51 79 95;
--color-primary-hsl: 202 30% 29%;
}
.gradient-334f5f {
background: linear-gradient(135deg, #334f5f, #33395f);
}
.shadow-334f5f {
box-shadow: 0 8px 24px rgb(51 79 95 / 0.35);
}
Charcoal
#334f5f rgb(51, 79, 95) hsl(202, 30%, 29%) Charcoal
#5f4333 rgb(95, 67, 51) hsl(22, 30%, 29%) Coffee
#5f334f rgb(95, 51, 79) hsl(322, 30%, 29%) Eggplant
#4f5f33 rgb(79, 95, 51) hsl(82, 30%, 29%) Dark Olive Green