#242A3E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, muted indigo feels serious and grounded. As a hex code, #242a3e provides a reliable base for modern dark mode interfaces. Because the tone is so dark, white text offers excellent readability with a 14.2:1 contrast ratio. Use this as a primary background rather than a small accent. Pair it with soft creams to keep the palette from feeling too cold or uninviting.
Questions about #242a3e
What is #242a3e in RGB, HSL and CMYK?
In RGB, #242a3e is rgb(36, 42, 62), in HSL hsl(226, 27%, 19%) and in CMYK 42%, 32%, 0%, 76%. Browse more shades of black with names and hex codes.
How should I use #242a3e in web design?
#242a3e functions best as a primary background color for modern dark mode interfaces rather than as a small accent. Its significant depth allows white or off-white text to maintain high readability, creating a professional and reliable user experience.
What colors pair well with #242a3e?
To prevent this indigo from feeling too cold, pair it with warm, soft creams or muted beige tones. These additions soften the palette significantly while maintaining the sophisticated, professional character that makes #242a3e such a strong choice for UI.
Is #242a3e readable on white or black?
#242a3e has a 14.22:1 contrast ratio on white and 1.47: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.