#313CFA Hex Color

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

Hex color #313cfa graphic
Reach for this electric blue when a call-to-action needs to stop the scroll. #313cfa is loud, saturated, and cool, with a violet-leaning punch that reads best at small sizes: buttons, links, badges. Full backgrounds get tiring fast. White text holds up well on it at about 6.7:1 contrast, enough for AA body copy. The hex code #313cfa sits a few steps from pure blue toward purple.

Questions about #313cfa

What is #313cfa in RGB, HSL and CMYK?
In RGB, #313cfa is rgb(49, 60, 250), in HSL hsl(237, 95%, 59%) and in CMYK 80%, 76%, 0%, 2%. Browse more shades of blue with names and hex codes.
What colors pair well with #313cfa?
Warm accents like amber or coral make this electric blue glow, while charcoal grounds it in interface work. Avoid placing it beside muted blues, where its saturation turns harsh.
Is #313cfa readable on white or black?
#313cfa has a 6.65:1 contrast ratio on white and 3.15: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.