#1B313E Hex Color

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

Hex color #1b313e graphic
A dark, gray-toned blue that sits closer to slate than navy. #1b313e works best as a dominant base in dark mode UI, dashboards, and finance or security branding. Its very low saturation keeps the mood serious and subdued. White text reads at about 13.5:1 contrast, well past WCAG AA for body copy. Pair it with muted amber or dusty coral to keep it from feeling flat.

Questions about #1b313e

What is #1b313e in RGB, HSL and CMYK?
In RGB, #1b313e is rgb(27, 49, 62), in HSL hsl(202, 39%, 17%) and in CMYK 56%, 21%, 0%, 76%. Browse more shades of black with names and hex codes.
What colors pair well with #1b313e?
Warm accents like amber, terracotta, or dusty coral add contrast and keep its gray undertone from turning flat. Cooler partners such as burgundy deepen it for moody, low-key palettes.
Is #1b313e readable on white or black?
#1b313e has a 13.50:1 contrast ratio on white and 1.55: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.