#2B4040 Hex Color

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

Hex color #2b4040 graphic
Neither true cyan nor plain gray, #2b4040 sits in a murky space between the two. This dark, dusty shade reads muted and serious, with a green undertone that keeps it from feeling cold. It works best as a supporting tone or UI background, where white text hits an easy 11:1 contrast, and pairs well with terracotta. See how mixing black creates shades like this one.

Questions about #2b4040

What is #2b4040 in RGB, HSL and CMYK?
In RGB, #2b4040 is rgb(43, 64, 64), in HSL hsl(180, 20%, 21%) and in CMYK 33%, 0%, 0%, 75%. Browse more shades of gray with names and hex codes.
What colors pair well with #2b4040?
Warm earth tones like terracotta, rust, and sand create strong contrast against #2b4040 without clashing. For a tighter palette, pale mint or muted gold work as small accents.
Is #2b4040 readable on white or black?
#2b4040 has a 10.99:1 contrast ratio on white and 1.91: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.