Color contrast answer
Does #ffffff work on #3b82f6?
#ffffff text on a #3b82f6 background has a contrast ratio of 3.68:1, so it passes WCAG AA for large text and UI graphics, but fails normal text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.