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

#1f5aff is an intense, saturated blue that demands attention. Because it is highly vivid, this color works best as a 10% accent for calls to action or UI highlights rather than a full background. It provides enough contrast against white for small body text readability. If you are learning how to make blue, remember that the hex code for this powerful shade is #1f5aff.
Questions about #1f5aff
What is #1f5aff in RGB, HSL and CMYK?
In RGB, #1f5aff is rgb(31, 90, 255), in HSL hsl(224, 100%, 56%) and in CMYK 88%, 65%, 0%, 0%. Browse more shades of blue with names and hex codes.
How should I use #1f5aff in interface design?
#1f5aff functions best as a 10% accent color rather than a primary background to avoid visual fatigue. It creates high-impact call-to-action buttons or state highlights that stand out clearly against neutral white or light gray interfaces.
What colors pair well with #1f5aff?
This electric blue pairs effectively with charcoal for high-contrast text or a soft silver to balance its intensity. For a modern, tech-focused palette, try combining it with clean white spaces and secondary muted tones to keep the design balanced.
Is #1f5aff readable on white or black?
#1f5aff has a 5.29:1 contrast ratio on white and 3.96: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.