We Tested the Default Blue Button on 6 Huge Website Toolkits — Two Fail Basic Readability

Testing flagship primary blue buttons from Google Material, Tailwind, GitHub, IBM, Bootstrap, and Radix shows Radix Blue-9 (3.26:1) and Bootstrap Info Cyan fail white text.

2026 Key Statistics & Quick-Cite Summary

Short version: Google Material 3 (6.44:1), Tailwind v4 (5.25:1), GitHub (5.19:1), and IBM Carbon (5.00:1) all give white button text plenty of breathing room. Bootstrap’s primary blue lands at an exact 4.50:1 with zero room for error, while Radix Blue-9 (3.26:1) and Bootstrap Info Cyan (1.96:1) fail small white text.

  • 4.50 : 1 — Bootstrap primary blue — literally zero margin above the 4.5:1 limit (ColorQueue 6-Toolkit Button Audit)
  • 3.26 : 1 — Radix Blue-9 with small white button text (fails basic AA rule) (Official Token Contrast Check)
  • 6.44 : 1 — Google Material 3 default primary button (easiest to read) (Material Design 3 Check)

Blue is the #1 button color on the internet. We tested the official default primary button color from 6 of the biggest website toolkits on Earth — and found one barely scrapes by on the exact legal line while bright blue and cyan buttons fail white text outright.

Why Hovering Over a Button Can Accidentally Break Readability

In Bootstrap 5, the team darkened their famous blue button to #0D6EFD so it hits exactly 4.50:1 against white text. That passes while sitting still — with literally 0.00 cushion to spare.

The problem? Lots of developers make buttons fade slightly on hover (opacity: 0.85). On a white page, fading a 4.50:1 button immediately drops it down to 3.6:1 — breaking readability the moment someone points at it!

Default Button Contrast Score With White Text (4.5:1 Needed to Pass)

Higher score = crisper, easier-to-read white button label.

Default Button Contrast Score With White Text (4.5:1 Needed to Pass)
ItemValueContext
Google Material 3 Primary6.4:1Strongest built-in readability
Tailwind v4 Blue-6005.3:1—
GitHub Primer Blue5.2:1—
IBM Carbon Blue-605:1—
Bootstrap 5 Primary Blue4.5:1Right on the 4.50 edge!
Radix Colors Blue-93.3:1Fails normal white button text
Bootstrap Info Cyan2:1Uses black text (10.7:1) instead

Data note: Exact WCAG 2.2 contrast ratios of #FFFFFF text against official primary & info button fills across 6 major UI kits.

Why Bright Electric Blue Buttons Fail Small Text

Super bright electric blue (Radix Blue-9, #0090FF) looks energetic, which is why designers love putting it on call-to-action buttons. But with normal 14px white text it only hits 3.26:1 — failing standard readability.

And bright cyan (#0DCAF0) hits a tiny 1.96:1 with white text — which is why Bootstrap automatically puts black text (10.72:1) on cyan buttons instead.

Always Darken on Hover — Never Fade

Instead of making buttons see-through when someone hovers with a mouse, shift the button one shade darker (for example, #155DFC to #1447E6). Your hover state actually gets *more* readable instead of less.

Aim for 5.0:1 on Your Main Button

Just like Tailwind, GitHub, and IBM do, pick a primary button color that scores 5.0:1 or higher in our Contrast Checker so small screen differences never push it below the line.

Cite This Study

ColorQueue (2026). "We Tested the Default Blue Button on 6 Huge Website Toolkits — Two Fail Basic Readability." https://colorqueue.com/guides/bootstrap-vs-material-vs-carbon-button-contrast/

Research Sources & Primary Citations

Open Button Contrast Checker

Featured Color Swatches & HEX Codes

  • #6750A4sRGB HEX Specification
  • #155DFCsRGB HEX Specification
  • #0969DAsRGB HEX Specification
  • #0D6EFDsRGB HEX Specification
  • #0090FFsRGB HEX Specification

Frequently Asked Questions

Why does Bootstrap’s Info Cyan button use black text instead of white?

White text on #0DCAF0 scores only 1.96:1 (almost unreadable), whereas black text scores an ultra-crisp 10.72:1.

Is Radix Blue-9 ever okay with white text?

Only on very big bold headlines (19px+ bold or 24px+ regular), where the relaxed 3.0:1 large-text rule applies — not on regular 14px button labels.

What is the safest contrast target for a primary website button?

Aim for at least 5.0:1 with white text, and always shift to an even darker shade on mouse hover.