#333840 Hex Color

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

Hex color #333840 graphic
This muted, dusty blue leans heavily into grey, offering a serious and grounded alternative to standard navy. Because it sits at the edge of dark mode, #333840 works best as a primary background for tech or finance interfaces. It provides enough contrast to keep white text readable, while pairing elegantly with subtle mustard yellow or copper accents to break up its gloom.

Questions about #333840

What is #333840 in RGB, HSL and CMYK?
In RGB, #333840 is rgb(51, 56, 64), in HSL hsl(217, 11%, 23%) and in CMYK 20%, 13%, 0%, 75%. Browse more shades of black with names and hex codes.
What makes #333840 suitable for user interfaces?
This muted grey-blue offers a professional, high-contrast base that keeps text readable while avoiding the harshness of pure black. It serves as an ideal dark mode foundation for fintech or enterprise platforms requiring a serious, reliable, and clean aesthetic.
Which accent colors work best with #333840?
Because #333840 is a cool-toned, dusty blue, it benefits from the warmth of high-contrast accents. Try pairing it with mustard or copper to break up the gloom and add visual interest without compromising the color's professional, grounded character.
Is #333840 readable on white or black?
#333840 has a 11.79:1 contrast ratio on white and 1.78: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.