#3B82F6 — Tints, Shades & Color Values

#3B82F6

#3B82F6 is a medium, vivid blue. In Tailwind CSS this exact color is the utility class blue-500 (e.g. bg-blue-500, text-blue-500). Its nearest CSS named color is dodgerblue (#1e90ff). For readable text on a #3B82F6 background, black text gives the strongest contrast (5.71:1). #3B82F6 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 #3B82F6 in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
HSV / HSB217°, 76%, 96%
Nearest nameddodgerblue (#1e90ff)

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

#3B82F6 in Tailwind CSS (blue-500)

#3B82F6 ships with Tailwind CSS as blue-500 — use it as bg-blue-500, text-blue-500, or border-blue-500. It sits at step 500 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 #3B82F6 (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 #3B82F6 (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 #3B82F6 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 3.68:1 — AA normal: Fail · AA large: Pass · AAA: Fail
Black text 5.71:1 — AA normal: Pass · AA large: Pass · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a darker shade of #3B82F6 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: #4F46E5 (indigo-600), #6A5ACD, #1E90FF, #9CA3AF (gray-400), #94A3B8 (slate-400), #667EEA (indigo-500).

Frequently Asked Questions

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

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