Color specimenNo. 01920728

#1D4ED8

Bright Blue

A deterministic reference card for #1D4ED8. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
29, 78, 216
HSL
224°, 76%, 48%
Text
White on top

Tailwind CSS · blue

tailwind · blue 700

The Tailwind CSS utility classes bg-blue-700, text-blue-700, and friends all reference this hex value.

Scale context · blue

Click any step to jump to its landing page.

Class name
blue-700
Hex
#1D4ED8
Closest CSS named color
royalblue
Full color breakdown
/color/1d4ed8

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #1D4ED8 as the text color.

6.70:1
AA passAAA failLarge pass

Rating · AA

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #1D4ED8 as the text color.

3.13:1
AA failAAA failLarge pass

Rating · AA Large

Recommendation

When using #1D4ED8 as a background, pair it with #ffffff text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in blue