#2A3240 Hex Color

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

Hex color #2a3240 graphic
#2a3240 is a dark, muted blue with gray undertones and a matte, almost charcoal finish. Its low saturation gives interfaces a serious, controlled feel, making it effective as a dominant dark-mode background or supporting tone in finance, technology, and government branding. White text reaches about 12.9:1 contrast, meeting WCAG AA for body text. The hex code is #2a3240.

Questions about #2a3240

What is #2a3240 in RGB, HSL and CMYK?
In RGB, #2a3240 is rgb(42, 50, 64), in HSL hsl(218, 21%, 21%) and in CMYK 34%, 22%, 0%, 75%.
What colors pair well with #2a3240?
#2a3240 pairs well with soft white, pale blue, muted sage, and warm neutrals because these lighter shades create clear contrast while preserving its restrained blue-gray character in interfaces and brand palettes. Use pale neutrals for clean layouts or warmer accents when you need more energy.
Is #2a3240 warm or cool?
#2a3240 reads as a cool, muted blue because its blue base is softened by gray rather than warmed by yellow or red, keeping the shade controlled and subdued in digital layouts. That balance gives it a calm, serious presence, especially beside bright neutrals or cool white.
Is #2a3240 readable on white or black?
#2a3240 has a 12.89:1 contrast ratio on white and 1.62: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.