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

This inky, near-black shade feels grounded and serious, functioning perfectly as a sophisticated alternative to pure black for dark mode interfaces. Because #121828 has low saturation, it provides a stable, unobtrusive base that makes white text pop with high legibility. Use this hex code as a dominant background to create moody, professional layouts for finance or technology brands that require a sense of absolute security.
Questions about #121828
What is #121828 in RGB, HSL and CMYK?
In RGB, #121828 is rgb(18, 24, 40), in HSL hsl(224, 38%, 11%) and in CMYK 55%, 40%, 0%, 84%. Browse more shades of black with names and hex codes.
What colors pair well with the #121828 hex code?
This shade works best when paired with crisp whites or very soft, desaturated neutrals like slate or silver to maintain a professional balance. Because of its deep, near-black nature, it also supports vibrant accent colors like gold or coral, which stand out sharply against its muted, dark base.
Is #121828 readable on white or black?
#121828 has a 17.69: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.