#1E293B Hex Color

A serious and stable deep slate blue

Hex color #1e293b graphic
This dark, inky blue feels restrained and serious due to its heavy desaturation. It functions as a stable foundation for dark mode interfaces because its 14.6:1 contrast ratio keeps white text perfectly readable. Use #1e293b as a base color rather than an accent, as it risks feeling muddy in smaller, fine-detail applications. The hex code for this muted shade is #1e293b.

Questions about #1e293b

What is #1e293b in RGB, HSL and CMYK?
In RGB, #1e293b is rgb(30, 41, 59), in HSL hsl(217, 33%, 17%) and in CMYK 49%, 31%, 0%, 77%.
Is #1e293b a good choice for text-heavy interfaces?
Yes, #1e293b works exceptionally well as a background for text-heavy interfaces because it provides a softer, more modern alternative to pure black. Its high contrast ratio ensures that white text remains crisp, legible, and comfortable for extended reading sessions in dark mode.
What colors pair well with #1e293b for a balanced palette?
This deep tone acts as a neutral foundation, allowing brighter accents to stand out effectively. It pairs beautifully with cool-white for clean typography or vibrant, saturated hues like electric-blue or citrus-yellow to create a sharp, high-impact visual contrast for interactive buttons.
Is #1e293b readable on white or black?
#1e293b has a 14.62:1 contrast ratio on white and 1.43: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.