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

This dim, charcoal-blue carries a heavy, muted quality that works best as a primary background for dark mode interfaces. Its low saturation keeps it from appearing flat, making it a sophisticated alternative to pure black. White text pops with high legibility against this shade, ensuring excellent accessibility. The hex code for this color is #1e2126, a standard choice for serious branding and professional UI designs.
Questions about #1e2126
What is #1e2126 in RGB, HSL and CMYK?
In RGB, #1e2126 is rgb(30, 33, 38), in HSL hsl(217, 12%, 13%) and in CMYK 21%, 13%, 0%, 85%. Browse more shades of black with names and hex codes.
Why is #1e2126 a better background choice than pure black?
Using #1e2126 prevents the harsh optical vibration that occurs when bright white text sits on absolute black. Its subtle blue undertone adds a professional, muted warmth that feels more natural and reduces eye strain during prolonged screen reading.
What colors pair well with #1e2126 for a UI palette?
Because #1e2126 is essentially a neutral dark, it pairs exceptionally well with muted earth tones or vibrant accent colors. Try using soft off-white for text, or introduce high-saturation pops like electric blue or amber to create dynamic, modern visual interest.
Is #1e2126 readable on white or black?
#1e2126 has a 16.14: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.