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

This inky, desaturated shade creates a somber backdrop for modern dark mode interfaces. Because #1a1a2d is very dim, it creates high contrast with white text, which reaches a 17.1:1 ratio. Pair this serious hue with muted metallic accents or warm gold for a sophisticated, luxury feel. It works best as a dominant 60% base for designs that prioritize atmosphere and shadow.
Questions about #1a1a2d
What is #1a1a2d in RGB, HSL and CMYK?
In RGB, #1a1a2d is rgb(26, 26, 45), in HSL hsl(240, 27%, 14%) and in CMYK 42%, 42%, 0%, 82%.
Why is #1a1a2d better than pure black for dark mode?
Using #1a1a2d instead of pure black creates a softer, more sophisticated interface that reduces eye strain and perceived glare. This inky shade allows white text to pop with high contrast while maintaining a sense of depth and shadow on digital screens.
What accent colors pair well with #1a1a2d?
Is #1a1a2d readable on white or black?
#1a1a2d has a 17.07:1 contrast ratio on white and 1.22: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.