#31404C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#31404c is a dark, muted blue with gray-green undertones and a matte, almost ashy finish. Its low saturation creates a serious, controlled mood, making it effective as a dominant dark-mode background or supporting tone. White text achieves about a 10.7:1 contrast ratio. The hex code #31404c suits finance, technology, government, and security branding.
Questions about #31404c
What is #31404c in RGB, HSL and CMYK?
In RGB, #31404c is rgb(49, 64, 76), in HSL hsl(207, 22%, 25%) and in CMYK 36%, 16%, 0%, 70%. Browse more shades of gray with names and hex codes.
What colors pair well with #31404c?
The #31404c hex color pairs well with white, pale blue, muted sage, and warm terracotta accents, creating clear contrast while preserving its cool, restrained character in both digital interfaces and brand palettes.
Is #31404c warm or cool?
#31404c reads as a cool, dark blue because its blue base is softened by gray-green undertones and low saturation. It conveys control, stability, and seriousness, making it useful for dark-mode layouts, security products, and formal visual systems.
Is #31404c readable on white or black?
#31404c has a 10.66:1 contrast ratio on white and 1.96: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.