#2A2E46 Hex Color

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

Hex color #2a2e46 graphic
#2a2e46 is a muted, desaturated indigo with an inky, matte finish. Because of its dark and dusty character, it provides a stable foundation for dark mode interfaces without the harshness of pure black. It pairs surprisingly well with muted mustard yellows or soft creams for a balanced, modern contrast. The hex code #2a2e46 remains highly readable with white text for UI accessibility.

Questions about #2a2e46

What is #2a2e46 in RGB, HSL and CMYK?
In RGB, #2a2e46 is rgb(42, 46, 70), in HSL hsl(231, 25%, 22%) and in CMYK 40%, 34%, 0%, 73%.
Why is #2a2e46 a good choice for dark mode UI?
#2a2e46 provides a softer, more sophisticated alternative to pure black while maintaining excellent readability. Because it is desaturated and ink-like, it prevents the harsh eye strain often associated with absolute black backgrounds, making it a stable base for modern digital applications.
What colors pair well with #2a2e46?
#2a2e46 works best when contrasted against warm, muted tones that pull it out of its cool, shadowy state. It pairs beautifully with mustard yellow accents or soft, creamy off-whites to create a balanced, professional aesthetic that feels grounded and intentionally designed.
Is #2a2e46 readable on white or black?
#2a2e46 has a 13.31:1 contrast ratio on white and 1.57: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.