#1f4f68 ≈ Charcoal
#1f4f68 is a color from the azure family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 30.98% green and 40.78% blue; printed in CMYK it uses 70.19% cyan, 24.04% magenta, 0% yellow and 59.22% black. Its hue angle is 200.55°, with 54.07% saturation and 26.47% 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.84:1 (WCAG AAA). The closest named color is Charcoal (#36454f), ΔE 7.87.
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.0688 |
Shades
#1f4f68 mixed progressively with black.
Tints
#1f4f68 mixed progressively with white.
Tones
#1f4f68 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f4f68 {
color: #1f4f68;
}
.bg-1f4f68 {
background-color: #1f4f68;
color: #ffffff;
}
.border-1f4f68 {
border: 2px solid #1f4f68;
}
:root {
--color-primary: #1f4f68;
--color-primary-rgb: 31 79 104;
--color-primary-hsl: 201 54% 26%;
}
.gradient-1f4f68 {
background: linear-gradient(135deg, #1f4f68, #1f2a68);
}
.shadow-1f4f68 {
box-shadow: 0 8px 24px rgb(31 79 104 / 0.35);
}
Charcoal
#1f4f68 rgb(31, 79, 104) hsl(201, 54%, 26%) Charcoal
#68381f rgb(104, 56, 31) hsl(21, 54%, 26%) Sepia
#681f4f rgb(104, 31, 79) hsl(321, 54%, 26%) Byzantium
#4f681f rgb(79, 104, 31) hsl(81, 54%, 26%) Dark Olive Green