#3F3F46 color
The swatch above shows #3F3F46 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#3F3F46 is a dark, desaturated grey, closest to the CSS named color darkslategray (#2F4F4F).
It is also a Tailwind CSS default: zinc-700. That means you can write bg-zinc-700 or text-zinc-700 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #3F3F46 |
| RGB | rgb(63, 63, 70) |
| HSL | hsl(240, 5%, 26%) |
| CMYK | cmyk(10%, 10%, 0%, 73%) |
| Decimal | 4144966 |
| CSS | color: #3F3F46; |
| Android | 0xFF3F3F46 |
| Swift | UIColor(red: 0.247, green: 0.247, blue: 0.275, alpha: 1) |
Accessibility and contrast
| White text on #3F3F46 | 10.44:1 — AA pass · AA large pass · AAA pass |
| Black text on #3F3F46 | 2.01:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #3F3F46
Each swatch keeps the hue and saturation of #3F3F46 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #3F3F46
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #3F3F46 in code
/* CSS */
.element { color: #3F3F46; background-color: #3F3F46; }
.element { color: rgb(63 63 70); }
.element { color: hsl(240 5% 26%); }
/* Tailwind */
<div class="bg-zinc-700 text-white">
/* SCSS variable */
$brand: #3F3F46;
Frequently asked questions
What color is #3F3F46?
#3F3F46 is a dark, desaturated grey. Its hue sits at 240° on the color wheel, with 5% saturation and 26% lightness.
What is #3F3F46 in RGB?
#3F3F46 converts to rgb(63, 63, 70) — 63 red, 63 green and 70 blue.
What is #3F3F46 in CMYK?
Approximately cmyk(10%, 10%, 0%, 73%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #3F3F46 be white or black?
White gives the better contrast ratio (10.44:1 versus 2.01:1).
What is the complementary color of #3F3F46?
#46463F — the hue directly opposite #3F3F46 on the color wheel.