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

Inky and almost grey, this dark indigo sits so close to black that its purple undertone only shows in low light. The hex code #1a1a2b works best as a dark mode base, where white text reaches a strong 17:1 contrast. Pair it with muted gold or dusty rose for richness. Next to pure white, it can read flat.
Questions about #1a1a2b
What is #1a1a2b in RGB, HSL and CMYK?
In RGB, #1a1a2b is rgb(26, 26, 43), in HSL hsl(240, 25%, 14%) and in CMYK 40%, 40%, 0%, 83%. Browse more shades of black with names and hex codes.
What colors pair well with #1a1a2b?
Muted gold, dusty rose, and denim blue all flatter this shade, adding warmth and light without breaking its gloomy mood. Bright saturated accents tend to clash, so keep pairings desaturated.
Is #1a1a2b readable on white or black?
#1a1a2b has a 17.12: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.