#343A42 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #343a42 graphic
Dark and muted, #343a42 is a blue-gray shade with ashy undertones and a serious, shadowed feel. Its low saturation gives interfaces a controlled, dependable look, making it useful for finance, security, technology, and government designs. Use it as a dominant dark-mode background with white text, which reaches about 11.5:1 contrast. The hex code is #343a42.

Questions about #343a42

What is #343a42 in RGB, HSL and CMYK?
In RGB, #343a42 is rgb(52, 58, 66), in HSL hsl(214, 12%, 23%) and in CMYK 21%, 12%, 0%, 74%. Browse more shades of gray with names and hex codes.
Does #343a42 work as a dark-mode background?
Yes, #343a42 works well as a dark-mode background because its low luminance creates strong contrast with white text, measuring about 11.5:1 and exceeding the 4.5:1 WCAG threshold for normal-sized text.
What colors pair well with #343a42?
Pair #343a42 with white or pale cool tints for crisp contrast, or use muted blue-green accents to soften its serious character. Warm off-white and amber can add balance, while lighter grays keep the palette restrained.
Does #343a42 read as warm or cool?
#343a42 reads as cool because its blue-gray base and ashy undertones outweigh the neutrality of its low saturation. It conveys control, stability, and seriousness, making it suitable for technology, finance, security, and formal interface designs.
Is #343a42 readable on white or black?
#343a42 has a 11.47:1 contrast ratio on white and 1.82:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.