#081828 Hex Color
A moody deep blue bordering on black

This dim, dusty blue borders on black and carries a heavy, serious weight. Because it is so dark, #081828 serves as an excellent base for high-contrast UI designs. White text remains legible over this shade, making it a reliable choice for dark mode interfaces. Use this hex code as a moody background to anchor technical or security-focused branding palettes.
Questions about #081828
What is #081828 in RGB, HSL and CMYK?
In RGB, #081828 is rgb(8, 24, 40), in HSL hsl(210, 67%, 9%) and in CMYK 80%, 40%, 0%, 84%.
Is #081828 suitable for dark mode UI?
Yes, #081828 works effectively as a dark background for interfaces because it provides enough contrast for white or light gray text to remain legible. Its slight blue undertone prevents the stark, harsh feeling that pure black backgrounds can often create.
What color combinations work best with #081828?
Pair #081828 with high-contrast accent colors like bright cyan or soft off-whites to maintain readability. Because the base is so dark and muted, it also anchors vibrant neon highlights without allowing the design to feel cluttered or visually overwhelming.
Is #081828 readable on white or black?
#081828 has a 17.92:1 contrast ratio on white and 1.17: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.