#1E1F28 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, near-black indigo offers a serious, moody foundation for digital interfaces. Because #1e1f28 is so dark and muted, it functions best as a dominant background color rather than an accent. It provides excellent readability for white text, ensuring high contrast in dark mode layouts. Pair it with soft, desaturated teals or muted golds to avoid a harsh visual experience.
Questions about #1e1f28
What is #1e1f28 in RGB, HSL and CMYK?
In RGB, #1e1f28 is rgb(30, 31, 40), in HSL hsl(234, 14%, 14%) and in CMYK 25%, 22%, 0%, 84%.
How should I use #1e1f28 in a digital interface?
#1e1f28 functions best as a dominant background color rather than an accent due to its dark and muted nature. It provides a stable, serious foundation that makes white text highly readable in modern dark mode layouts.
What colors pair well with #1e1f28?
Soft, desaturated teals or muted, dusty golds create the most harmonious palettes alongside #1e1f28. Avoiding overly saturated primary colors helps maintain the sophisticated, moody aesthetic that this near-black indigo provides for UI design projects.
Is #1e1f28 readable on white or black?
#1e1f28 has a 16.38:1 contrast ratio on white and 1.28: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.