#5A9CEF Hex Color

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

Hex color #5a9cef graphic
Cool and fairly saturated, #5a9cef is a medium blue with a clean, slightly cool cast. Its steady brightness supports trust, reliability, and control, making it useful for security, finance, healthcare, technology, and government interfaces. Use it as a primary UI color or supporting brand tone. Black text reaches about 7.4:1 contrast, meeting WCAG AA for body text. The hex code is #5a9cef.

Questions about #5a9cef

What is #5a9cef in RGB, HSL and CMYK?
In RGB, #5a9cef is rgb(90, 156, 239), in HSL hsl(213, 82%, 65%) and in CMYK 62%, 35%, 0%, 6%. Browse more shades of blue with names and hex codes.
What colors pair well with #5a9cef?
Pair #5a9cef with navy or charcoal for a restrained interface, or add a muted orange accent to create complementary contrast without overwhelming its cool blue base in buttons, icons, or small highlights.
Where does #5a9cef work best?
#5a9cef works well for primary buttons, links, dashboards, and technology or healthcare interfaces because its medium brightness feels clear, controlled, and dependable without the heaviness of dark navy or a very dark blue.
Is #5a9cef readable on white or black?
#5a9cef has a 2.82:1 contrast ratio on white and 7.43:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.