#1F2742 Hex Color

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

Hex color #1f2742 graphic
Navy at its darkest and most muted, #1f2742 reads inky and serious. The hex code keeps just enough blue to feel cool without turning crisp, so it works as a dark mode base or a formal brand background. White text clears WCAG AA here at about 14.7:1. Pair it with burgundy or warm gold for depth plain black lacks.

Questions about #1f2742

What is #1f2742 in RGB, HSL and CMYK?
In RGB, #1f2742 is rgb(31, 39, 66), in HSL hsl(226, 36%, 19%) and in CMYK 53%, 41%, 0%, 74%. Browse more shades of blue with names and hex codes.
What colors pair well with #1f2742?
Warm gold and burgundy bring out the richness in #1f2742, while dusty rose softens it for friendlier layouts. Skip muted grays, which make it look flat and muddy.
Is #1f2742 readable on white or black?
#1f2742 has a 14.71:1 contrast ratio on white and 1.42: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.