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

Dark and heavily muted, this indigo-navy sits close to black with a dusty purple undertone. The hex code #161838 works best as a dominant base for dark mode interfaces and moody layouts, where white text reaches about 17.2:1 contrast. It looks richer beside warm accents like amber or dusty rose than next to plain grays.
Questions about #161838
What is #161838 in RGB, HSL and CMYK?
In RGB, #161838 is rgb(22, 24, 56), in HSL hsl(236, 44%, 15%) and in CMYK 61%, 57%, 0%, 78%. Browse more shades of purple with names and hex codes.
What colors pair well with #161838?
Warm accents flatter #161838 better than cool ones. Try amber, dusty rose, or muted gold against it, since their warmth lifts the dusty purple undertone. Avoid pairing it with other dark blues, where it turns muddy and flat.
Is #161838 a good background color for dark mode?
Yes. Its low lightness and very low saturation make it easier on the eyes than pure black, while still dark enough to feel like a night palette. It suits meditation apps, finance dashboards, and formal brand interfaces.
Is #161838 readable on white or black?
#161838 has a 17.18:1 contrast ratio on white and 1.22: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.