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

This near-black grey provides a serious, muted foundation for modern interfaces and minimalist branding. While stark white creates a harsh contrast, #1a181a feels softer and more grounded, making it an excellent choice for dark-mode backgrounds. Because it maintains high contrast ratios with light text, this hex code works reliably for readable UI body copy without appearing too clinical.
Questions about #1a181a
What is #1a181a in RGB, HSL and CMYK?
In RGB, #1a181a is rgb(26, 24, 26), in HSL hsl(300, 4%, 10%) and in CMYK 0%, 8%, 0%, 90%.
Why use #1a181a instead of pure black for UI backgrounds?
Using #1a181a avoids the harsh eye strain often caused by absolute black when paired with light text. This near-black charcoal retains a professional depth while creating a more natural, comfortable viewing experience that feels less clinical in modern digital applications.
What colors pair best with #1a181a for a balanced palette?
#1a181a acts as a neutral foundation that works exceptionally well with muted earth tones like olive or soft, desaturated teals. For a higher contrast look, pair it with warm whites or subtle creams to soften the overall visual impact.
Is #1a181a readable on white or black?
#1a181a has a 17.65:1 contrast ratio on white and 1.18: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.