#2872B4 Hex Color

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

Hex color #2872b4 graphic
This cool, mid-tone blue feels stable and professional, making it a standard choice for corporate branding and financial interfaces. The hex code #2872b4 offers enough contrast for legible white text, fitting well as a primary accent or a secondary brand color. Avoid pairing it with overly bright neons, as it shines best alongside soft grays or a warm, muted orange for balance.

Questions about #2872b4

What is #2872b4 in RGB, HSL and CMYK?
In RGB, #2872b4 is rgb(40, 114, 180), in HSL hsl(208, 64%, 43%) and in CMYK 78%, 37%, 0%, 29%. Browse more shades of blue with names and hex codes.
What colors pair best with #2872b4?
#2872b4 works exceptionally well when balanced against neutral grays or a warm, muted orange to provide visual contrast. For a clean professional look, pair it with white text for high readability or light gray backgrounds.
Is #2872b4 readable on white or black?
#2872b4 has a 5.05:1 contrast ratio on white and 4.15: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 works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.