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

This desaturated, inky blue carries a serious and authoritative weight. It works best as a primary dark-mode background, providing a stable foundation for cleaner interfaces. The hex code is #1a1f3d. Because it is so dark, white text offers the best readability for large blocks of content. Pair this shade with soft cream or muted metallics to prevent the overall design from feeling too cold.
Questions about #1a1f3d
What is #1a1f3d in RGB, HSL and CMYK?
In RGB, #1a1f3d is rgb(26, 31, 61), in HSL hsl(231, 40%, 17%) and in CMYK 57%, 49%, 0%, 76%. Browse more shades of blue with names and hex codes.
What colors pair well with the deep blue #1a1f3d?
This dark tone balances best with high-contrast, lighter neutrals like cream or soft beige to keep your interface from feeling too cold. It also holds its own when paired with warm, muted metallics like bronze for a premium, sophisticated feel.
Is #1a1f3d suitable for large blocks of text?
While #1a1f3d works well as a background color, it is far too dark to be used as a text color itself. Always use a high-contrast foreground color like white or a very pale off-white to maintain necessary readability standards.
Is #1a1f3d readable on white or black?
#1a1f3d has a 16.06:1 contrast ratio on white and 1.30: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.