Use Google inspector, they suggest another color that passes AA and AAA
AA : #217387
AAA : #185564
What is AA and AAA ?
These are compliance levels to make digital content more accessible provided by WCAG.
- WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders)
- WCAG Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text. Large text is defined as 14 point (typically 18.66px) and bold or larger, or 18 point (typically 24px) or larger.