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

An inky, desaturated indigo, #1a1f36 acts as a serious alternative to pure black. This moody shade works best for dark UI backgrounds or high-end branding where depth matters. It maintains a 16.2:1 contrast ratio with white text, making it readable for body copy. Pair it with warm, muted metals to break its austerity without sacrificing that structured, professional look. The hex code for this color is #1a1f36.
Questions about #1a1f36
What is #1a1f36 in RGB, HSL and CMYK?
In RGB, #1a1f36 is rgb(26, 31, 54), in HSL hsl(229, 35%, 16%) and in CMYK 52%, 43%, 0%, 79%. Browse more shades of blue with names and hex codes.
How should I use #1a1f36 in web design?
Use #1a1f36 as a modern, softer alternative to pure black for website backgrounds or navigation bars. Its deep, desaturated indigo tone creates a premium feel that is much easier on the eyes than standard black while maintaining high readability for light text.
Does #1a1f36 work well with warm color accents?
Is #1a1f36 readable on white or black?
#1a1f36 has a 16.23:1 contrast ratio on white and 1.29: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.