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

#1a1e2b is an inky, desaturated indigo that mimics the depth of a moonless night. This shadowy tone functions best as a sophisticated dark mode background rather than small text. It pairs exceptionally well with muted gold or soft cream accents for a high-contrast, professional look. Because it offers strong accessibility against white text, the hex code #1a1e2b serves as a stable, moody foundation for modern UI designs.
Questions about #1a1e2b
What is #1a1e2b in RGB, HSL and CMYK?
In RGB, #1a1e2b is rgb(26, 30, 43), in HSL hsl(226, 25%, 14%) and in CMYK 40%, 30%, 0%, 83%. Browse more shades of black with names and hex codes.
How can I effectively use #1a1e2b in web design?
#1a1e2b functions best as a dark background for modern, high-contrast interfaces rather than small text elements. Its deep, moody saturation creates a professional anchor that allows white or light accent text to pop with excellent readability.
What colors pair well with #1a1e2b?
Is #1a1e2b readable on white or black?
#1a1e2b has a 16.60:1 contrast ratio on white and 1.26: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.