Color #343e40
A nearly neutral, gray-leaning dark cyan.
Conversions
#343e40
rgb(52, 62, 64)
hsl(190, 10.3%, 22.7%)
hsv(190, 18.8%, 25.1%)
cmyk(18.8%, 3.1%, 0%, 74.9%)
lab(25.4, -3.6, -2.61)
lch(25.4, 4.45, 215.94)
oklch(35.6%, 0.0137, 211.25)
hwb(190, 20.4%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393940 · ΔE 7.3
Deuteranopia
#38373f · ΔE 8.4
Tritanopia
#353f3f · ΔE 1.3
Achromatopsia
#3c3c3c · ΔE 5.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #343e40;
bg-[#343e40]
Related colors
Frequently asked questions
#343e40 (#343e40) is rgb(52, 62, 64) in RGB.
No, #343e40 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #343e40, or check how it holds up for accessibility.