#304f5f ≈ Charcoal
#304f5f is a color from the azure family, with low lightness and muted saturation. In the RGB model it is made of 18.82% red, 30.98% green and 37.25% blue; printed in CMYK it uses 49.47% cyan, 16.84% magenta, 0% yellow and 62.75% black. Its hue angle is 200.43°, with 32.87% saturation and 28.04% 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.72:1 (WCAG AAA). The closest named color is Charcoal (#36454f), ΔE 5.22.
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.0705 |
Shades
#304f5f mixed progressively with black.
Tints
#304f5f mixed progressively with white.
Tones
#304f5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304f5f {
color: #304f5f;
}
.bg-304f5f {
background-color: #304f5f;
color: #ffffff;
}
.border-304f5f {
border: 2px solid #304f5f;
}
:root {
--color-primary: #304f5f;
--color-primary-rgb: 48 79 95;
--color-primary-hsl: 200 33% 28%;
}
.gradient-304f5f {
background: linear-gradient(135deg, #304f5f, #30375f);
}
.shadow-304f5f {
box-shadow: 0 8px 24px rgb(48 79 95 / 0.35);
}
Charcoal
#304f5f rgb(48, 79, 95) hsl(200, 33%, 28%) Charcoal
#5f4030 rgb(95, 64, 48) hsl(20, 33%, 28%) Coffee
#5f304f rgb(95, 48, 79) hsl(320, 33%, 28%) Eggplant
#4f5f30 rgb(79, 95, 48) hsl(80, 33%, 28%) Dark Olive Green