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

This near-black, ashy blue tone carries a heavy, serious presence that grounds a design. Because it lacks saturation, #1b1f28 works effectively as a stable, dark-mode background for technology or finance interfaces. White text sits against it with high contrast for excellent legibility. It performs best as a base color rather than an accent, providing a moody, professional canvas that holds its own without needing vibrant, loud partners.
Questions about #1b1f28
What is #1b1f28 in RGB, HSL and CMYK?
In RGB, #1b1f28 is rgb(27, 31, 40), in HSL hsl(222, 19%, 13%) and in CMYK 33%, 22%, 0%, 84%.
Where does #1b1f28 work best in UI design?
#1b1f28 thrives as a background color in professional technology or financial interfaces where a serious, muted tone is required. It provides a grounded, near-black surface that allows light text to remain perfectly legible without causing visual fatigue or strain.
What colors pair well with #1b1f28?
Is #1b1f28 readable on white or black?
#1b1f28 has a 16.49:1 contrast ratio on white and 1.27: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.