#2A2F38 Hex Color

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

Hex color #2a2f38 graphic
This muted, near-grey blue carries a heavy, serious character. Because of its low saturation, #2a2f38 works best as a dark mode background or a stabilizing base for professional branding. It remains readable with white text, providing excellent contrast for UI interfaces. Use the hex code #2a2f38 to anchor designs that require a secure, reliable, and grounded presence without the distraction of bright, vivid color.

Questions about #2a2f38

What is #2a2f38 in RGB, HSL and CMYK?
In RGB, #2a2f38 is rgb(42, 47, 56), in HSL hsl(219, 14%, 19%) and in CMYK 25%, 16%, 0%, 78%. Browse more shades of black with names and hex codes.
Why is #2a2f38 an effective choice for dark mode UI backgrounds?
#2a2f38 offers a sophisticated alternative to pure black because its blue undertones reduce eye strain while maintaining high contrast with white typography. This balance makes it ideal for professional dashboards and applications that require a grounded, reliable, and legible visual environment.
What colors pair well with #2a2f38 in a design scheme?
Because #2a2f38 is a desaturated, neutral-leaning blue, it pairs best with high-contrast accent colors like a crisp white or soft cream for readability. You can also ground the design by using it alongside muted metallic tones or a subtle slate to maintain a cohesive, professional aesthetic.
Is #2a2f38 readable on white or black?
#2a2f38 has a 13.44:1 contrast ratio on white and 1.56: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.