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

This dark, serious blue commands attention without demanding focus. Because of its 9.2:1 contrast ratio, it provides a solid, professional base for white text in UI designs. The hex code #124787 works best as a primary background color for finance or security apps where you need an atmosphere of stability and restraint. It pairs nicely with soft creams to prevent harsh, cold visuals.
Questions about #124787
What is #124787 in RGB, HSL and CMYK?
In RGB, #124787 is rgb(18, 71, 135), in HSL hsl(213, 76%, 30%) and in CMYK 87%, 47%, 0%, 47%. Browse more shades of blue with names and hex codes.
Why is #124787 effective for professional interface design?
#124787 offers a 9.2:1 contrast ratio against white, which ensures excellent text readability and compliance with strict accessibility standards. Its dark, muted nature projects stability, making it an ideal background choice for banking, legal, or security-focused applications.
What colors pair best with #124787 to avoid a cold visual?
To prevent the deep blue from feeling too sterile, pair #124787 with cream or warm off-white tones. These lighter, softer neutrals balance the intensity of the blue while maintaining a sophisticated, trustworthy aesthetic for your layout.
Is #124787 readable on white or black?
#124787 has a 9.22:1 contrast ratio on white and 2.27: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.