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

This dusty, dim blue carries a somber weight that works well for moody interfaces or secure brand identities. Because it is highly unsaturated, #162a3f functions best as a dominant dark mode background rather than an accent. It pairs cleanly with white text for maximum contrast, though it can look muddy against complex, colorful graphics. The hex code for this shade is #162a3f.
Questions about #162a3f
What is #162a3f in RGB, HSL and CMYK?
In RGB, #162a3f is rgb(22, 42, 63), in HSL hsl(211, 48%, 17%) and in CMYK 65%, 33%, 0%, 75%.
When should I use #162a3f in my designs?
This color acts as an excellent, sophisticated dark mode background because its low saturation keeps UI elements from vibrating or distracting the user. It works best paired with high-contrast white or soft light gray text for readability.
Does #162a3f work well with other colors?
Because #162a3f is so muted, it risks looking muddy when placed against vibrant primary colors. To maintain a clean aesthetic, try pairing it with slate or other neutral tones rather than bright accents.
Is #162a3f readable on white or black?
#162a3f has a 14.61:1 contrast ratio on white and 1.43: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.