#21517E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#21517e is a dark, muted blue with cool gray undertones, giving layouts a serious, dependable mood without feeling black. Use it as a dominant UI background or branding base, paired with warm burgundy or pale sand for contrast. White text remains highly legible on this shade, with about an 8.3:1 contrast ratio. The hex code is #21517e.
Questions about #21517e
What is #21517e in RGB, HSL and CMYK?
In RGB, #21517e is rgb(33, 81, 126), in HSL hsl(209, 58%, 31%) and in CMYK 74%, 36%, 0%, 51%. Browse more shades of blue with names and hex codes.
What colors pair well with #21517e?
Warm burgundy and pale sand pair well with #21517e, adding contrast without losing its serious mood. White works for text, while soft gray can support quieter interface layouts and borders.
Is #21517e readable on white or black?
#21517e has a 8.25:1 contrast ratio on white and 2.54: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.