#181B22 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Dark and muted, #181b22 is a blueish charcoal with ashy gray undertones and very low lightness. It creates a serious, controlled mood suited to security, finance, technology, and government interfaces. Use the hex code #181b22 as a dominant dark-mode background, pairing it with white text for clear contrast and restrained accent colors.
Questions about #181b22
What is #181b22 in RGB, HSL and CMYK?
In RGB, #181b22 is rgb(24, 27, 34), in HSL hsl(222, 17%, 11%) and in CMYK 29%, 21%, 0%, 87%. Browse more shades of black with names and hex codes.
What colors pair well with #181b22?
#181b22 pairs well with white, cool light gray, muted blue, and restrained accent colors, creating clear separation without softening its controlled mood in both dark-mode interfaces and product layouts alike. A muted terracotta accent can warm the palette without competing with the background.
Does #181b22 look warm or cool?
#181b22 reads cool because its blue bias shifts the charcoal toward slate, while its low lightness keeps the color restrained rather than vivid on screens and in dark-mode layouts alike. Pair it with warmer accents when a less severe interface is needed.
Where does #181b22 work best?
#181b22 works best as a dark-mode background for security, finance, technology, and government interfaces, where its blue-charcoal tone supports a serious, controlled visual hierarchy without the starkness of pure black. Check smaller text and accent colors separately for contrast.
Is #181b22 readable on white or black?
#181b22 has a 17.23:1 contrast ratio on white and 1.21: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.