#1F3038 Hex Color

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

Hex color #1f3038 graphic
Dark blue with a heavy dose of gray, #1f3038 works best as a base color for dark mode UI, finance dashboards, and moody brand backgrounds. Its muted, ashy character reads serious without the heaviness of black. Pair it with copper or muted gold for warmth, or lean on white text, which hits about 13.7:1 contrast on top.

Questions about #1f3038

What is #1f3038 in RGB, HSL and CMYK?
In RGB, #1f3038 is rgb(31, 48, 56), in HSL hsl(199, 29%, 17%) and in CMYK 45%, 14%, 0%, 78%. Browse more shades of black with names and hex codes.
What colors pair well with #1f3038?
Warm accents like copper, muted gold, and terracotta bring out its depth and keep it from reading flat. Cool grays and other blues tend to blend in and dull the palette.
Is #1f3038 readable on white or black?
#1f3038 has a 13.65:1 contrast ratio on white and 1.53: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.