#2B3340 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This inky, matte blue feels grounded and professional, serving as a reliable alternative to pure black in UI design. Because it lacks high saturation, #2b3340 works best as a primary background or a moody footer element. It offers excellent contrast for white text, which is helpful if you are wondering about how to make black appear softer in modern interfaces.
Questions about #2b3340
What is #2b3340 in RGB, HSL and CMYK?
In RGB, #2b3340 is rgb(43, 51, 64), in HSL hsl(217, 20%, 21%) and in CMYK 33%, 20%, 0%, 75%. Browse more shades of black with names and hex codes.
When should I use #2b3340 instead of standard black?
#2b3340 is ideal for UI design when you need high contrast without the visual intensity of pure black. Its subtle blue undertones create a softer, more sophisticated look on screen, particularly for large backgrounds, footers, or dark mode text blocks.
What colors pair well with #2b3340?
Because this shade acts as a neutral base, it pairs beautifully with high-contrast warm accents like burnt orange or mustard yellow to create a balanced, modern palette. It also works seamlessly alongside soft, off-white grays for a clean, minimalist aesthetic.
Is #2b3340 readable on white or black?
#2b3340 has a 12.72:1 contrast ratio on white and 1.65: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.