#2F7BAB Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This unsaturated mid-tone blue carries a steady, professional presence suitable for financial and security-focused interfaces. #2f7bab feels composed and reliable without appearing sterile. Because it offers enough contrast against white for legible body text, it works well as a primary color for UI elements. Pair it with soft grays or a warm off-white to ground the cool tones, as the hex code #2f7bab can feel cold in isolation.
Questions about #2f7bab
What is #2f7bab in RGB, HSL and CMYK?
In RGB, #2f7bab is rgb(47, 123, 171), in HSL hsl(203, 57%, 43%) and in CMYK 73%, 28%, 0%, 33%. Browse more shades of blue with names and hex codes.
Where does #2f7bab work best in professional design?
#2f7bab serves as an ideal primary UI color for industries requiring a sense of trust, such as finance or data security. It maintains strong legibility against white backgrounds while avoiding the harshness often associated with fully saturated primary blues.
What colors pair well with #2f7bab?
To ground the cool temperament of #2f7bab, pair it with soft, neutral tones like charcoal for text or a warm off-white for backgrounds. These pairings provide contrast without overwhelming the steady, muted nature of the blue.
Is #2f7bab readable on white or black?
#2f7bab has a 4.62:1 contrast ratio on white and 4.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 works for body text. Try other pairs in the contrast checker.