#1B1B38 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #1b1b38 graphic
This near-black indigo is heavily desaturated and cool in tone. Because #1b1b38 is so dark, it provides an excellent base for high-contrast, moody interfaces that require white text for accessibility. It works best as a primary background color, anchoring branding or UI designs where you need authority without the harshness of pure black. Pair it with soft cream accents to highlight its dusty, inky character.

Questions about #1b1b38

What is #1b1b38 in RGB, HSL and CMYK?
In RGB, #1b1b38 is rgb(27, 27, 56), in HSL hsl(240, 35%, 16%) and in CMYK 52%, 52%, 0%, 78%.
Does #1b1b38 function better than pure black for UI design?
Yes, #1b1b38 often creates a more natural and less harsh experience than pure black, reducing eye strain in dark mode interfaces. Because it retains a subtle blue undertone, it feels more professional and grounded for modern web applications.
What colors pair well with the deep tone of #1b1b38?
This color thrives when paired with high-contrast, warm neutrals like cream or soft beige, which highlight its inky, desaturated character. For a bolder look, you can also introduce muted metallic accents or bright, desaturated teals to complement its cool temperature.
Is #1b1b38 readable on white or black?
#1b1b38 has a 16.66:1 contrast ratio on white and 1.26: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.