#1D4ED8 — Tints, Shades & Color Values

#1D4ED8

#1D4ED8 is a medium, vivid blue. In Tailwind CSS this exact color is the utility class blue-700 (e.g. bg-blue-700, text-blue-700). Its nearest CSS named color is royalblue (#4169e1). For readable text on a #1D4ED8 background, white text gives the strongest contrast (6.70:1). #1D4ED8 sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.

Want to fine-tune this color interactively? Open #1D4ED8 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#1D4ED8
RGBrgb(29, 78, 216)
HSLhsl(224, 76%, 48%)
HSV / HSB224°, 87%, 85%
Nearest namedroyalblue (#4169e1)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#1D4ED8 in Tailwind CSS (blue-700)

#1D4ED8 ships with Tailwind CSS as blue-700 — use it as bg-blue-700, text-blue-700, or border-blue-700. It sits at step 700 of the blue ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #1D4ED8 (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #1D4ED8 (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #1D4ED8 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 6.70:1 — AA normal: Pass · AA large: Pass · AAA: Fail
Black text 3.13:1 — AA normal: Fail · AA large: Pass · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #1D4ED8 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More blue colors in the library: #64748B (slate-500), #0000FF, #6B7280 (gray-500), #708090, #4338CA (indigo-700), #2980B9.

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #1D4ED8? Put it on a free link-in-bio page →