#5871F1 Hex Color

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

Hex color #5871f1 graphic
Bright and highly saturated, #5871f1 is a cool blue with a slight indigo cast. Its strong chroma brings energy and focus to calls to action, technology interfaces, and security branding. Use it as a supporting accent against navy, charcoal, or warm cream rather than a full-page background. The hex code #5871f1 supports readable black body text at about 5.0:1 contrast.

Questions about #5871f1

What is #5871f1 in RGB, HSL and CMYK?
In RGB, #5871f1 is rgb(88, 113, 241), in HSL hsl(230, 85%, 65%) and in CMYK 63%, 53%, 0%, 5%. Browse more shades of blue with names and hex codes.
What colors pair well with #5871f1?
#5871f1 pairs well with navy, charcoal, and warm cream, which balance its bright cool blue and indigo cast while preserving contrast and focus. Use it as an accent rather than a full-page background.
What mood does #5871f1 convey?
The hex color #5871f1 conveys a bright, focused, and energetic mood through its high saturation, cool blue base, and slight indigo cast, giving interfaces a crisp visual signal without the heaviness of a dark blue. It fits technology, security, and action-oriented interfaces best as a strong accent against quieter neutrals.
Is #5871f1 readable on white or black?
#5871f1 has a 4.16:1 contrast ratio on white and 5.04:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.