Blue 500#3B82F6
rgb(59, 130, 246) · hsl(217, 91%, 60%) · oklch(62% 0.19 260)
Color formats
The same colour in every notation you are likely to paste somewhere.
- HEX
- #3B82F6
- RGB
- rgb(59, 130, 246)
- HSL
- hsl(217, 91%, 60%)
- HSV
- hsv(217, 76%, 96%)
- OKLCH
- oklch(62% 0.19 260)
- CMYK
- cmyk(76%, 47%, 0%, 4%)
Contrast & accessibility
Measured against pure white and pure black, the two backgrounds everything else sits between.
- On white
- 3.68:1 large text only
- On black
- 5.71:1 AA pass
- Best text color
- #000000 · 5.71:1
- Nearest CSS name
- dodgerblue
Shades & tints
A 50–950 ramp built from this hue — 500 sits closest to the original.
Color harmonies
Rotations around the hue wheel at the same saturation and lightness.
Copy-ready code
:root {
--dodgerblue: #3b82f6;
--dodgerblue-rgb: 59 130 246;
--dodgerblue-oklch: oklch(62% 0.19 260);
}background: rgb(var(--dodgerblue-rgb) / 40%);The space-separated triple lets you set alpha without a second variable:
bg-[#3b82f6] text-[#3b82f6] border-[#3b82f6]About this color
#3B82F6 is a color with the RGB value rgb(59, 130, 246). Its closest CSS named color is "dodgerblue". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.