#181D28 Hex Color

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

Hex color #181d28 graphic
This dark, near-black blue holds a dim and inky character, perfect for modern dark mode interfaces. Because #181d28 is so low in chroma, it provides a stable, serious backdrop that anchors professional designs. Pair it with soft, muted oranges or cream for high-legibility UI. With a contrast ratio of 16.9:1 against white text, this hex code ensures excellent readability for body content and fine details.

Questions about #181d28

What is #181d28 in RGB, HSL and CMYK?
In RGB, #181d28 is rgb(24, 29, 40), in HSL hsl(221, 25%, 13%) and in CMYK 40%, 27%, 0%, 84%. Browse more shades of black with names and hex codes.
Where should I use #181d28 in a UI design?
#181d28 works best as a primary background color for modern dark mode interfaces because it feels more sophisticated than pure black. Its low chroma nature grounds the design, making it a perfect, stable canvas for displaying bright, readable accent elements.
What colors pair well with #181d28?
This deep, near-black blue pairs beautifully with cream or muted orange to create high-legibility contrast. The warmth of these lighter tones cuts through the density of #181d28, ensuring that your text and call-to-action buttons remain the main focus.
Is #181d28 readable on white or black?
#181d28 has a 16.86:1 contrast ratio on white and 1.24: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.