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

Dark and moderately muted, #1f4c8e is a cool blue with a shaded, serious character. Its strong depth supports trust, security, and control in finance, technology, government, or healthcare layouts. Use the hex code as a dominant background with white text, which reaches about 8.5:1 contrast and meets WCAG AA for body copy.
Questions about #1f4c8e
What is #1f4c8e in RGB, HSL and CMYK?
In RGB, #1f4c8e is rgb(31, 76, 142), in HSL hsl(216, 64%, 34%) and in CMYK 78%, 46%, 0%, 44%. Browse more shades of blue with names and hex codes.
What colors pair well with #1f4c8e?
#1f4c8e pairs well with burgundy, pale gray, and warm off-white, creating a grounded palette with useful contrast for finance, editorial, and technology layouts while keeping the dark blue from feeling overly cold or corporate.
Does #1f4c8e read warm or cool?
#1f4c8e reads cool because its dark, moderately saturated blue has a clear blue-violet cast rather than warm red or yellow undertones, giving interfaces a controlled, dependable mood that suits security, finance, and public-service branding.
Is #1f4c8e readable on white or black?
#1f4c8e has a 8.45:1 contrast ratio on white and 2.48: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.