#2F3845 Hex Color

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

Hex color #2f3845 graphic
This muted, dusty blue acts as a sophisticated alternative to pure black in interface design. It provides excellent readability for white text, making it a functional choice for dark-mode backgrounds. If you are learning how to make black, this tone offers a softer, more grounded starting point. The hex code for this color is #2f3845.

Questions about #2f3845

What is #2f3845 in RGB, HSL and CMYK?
In RGB, #2f3845 is rgb(47, 56, 69), in HSL hsl(215, 19%, 23%) and in CMYK 32%, 19%, 0%, 73%. Browse more shades of black with names and hex codes.
Why use #2f3845 instead of pure black for web design?
Using #2f3845 creates a softer, more approachable interface than deep black while maintaining high contrast. It prevents the jarring visual tension common in dark designs and pairs beautifully with off-white or soft grey text for a professional look.
What color schemes work best with #2f3845?
Because #2f3845 acts as a neutral base, it pairs well with muted earth tones or vibrant accent colors. Try combining it with a warm terracotta or mustard yellow to add life to the cool, moody blue undertones of the palette.
Is #2f3845 readable on white or black?
#2f3845 has a 11.84:1 contrast ratio on white and 1.77: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.