#1D4ED8 — Tints, Shades & Color Values
#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.
Color Values
| Hex | #1D4ED8 |
|---|---|
| RGB | rgb(29, 78, 216) |
| HSL | hsl(224, 76%, 48%) |
| HSV / HSB | 224°, 87%, 85% |
| Nearest named | royalblue (#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.
-
10% tint
#3460dc -
20% tint
#4a71e0 -
30% tint
#6183e4 -
40% tint
#7795e8 -
50% tint
#8ea7ec -
60% tint
#a5b8ef -
70% tint
#bbcaf3 -
80% tint
#d2dcf7 -
90% tint
#e8edfb
Shades of #1D4ED8 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#1a46c2 -
20% shade
#173ead -
30% shade
#143797 -
40% shade
#112f82 -
50% shade
#0f276c -
60% shade
#0c1f56 -
70% shade
#091741 -
80% shade
#06102b -
90% shade
#030816
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
-
What color is #1D4ED8?
#1D4ED8 is a medium, vivid blue —
rgb(29, 78, 216). Its nearest CSS named color isroyalblue. In Tailwind CSS it isblue-700. -
How do I make tints and shades of #1D4ED8?
Mix #1D4ED8 with white for tints and with black for shades. A 20% tint of #1D4ED8 is
#4a71e0and a 20% shade is#173ead— the full 10%–90% ramps are precomputed on this page, or open #1D4ED8 in the generator for finer steps. -
What text color is readable on #1D4ED8?
White text gives the strongest contrast on a #1D4ED8 background at 6.70:1, which passes WCAG AA for normal text but not AAA.
-
What is the Tailwind CSS class for #1D4ED8?
blue-700— use it asbg-blue-700,text-blue-700, orborder-blue-700. The full blue 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#1D4ED8? Put it on a free link-in-bio page →