Skip to content
Colour · ≈ dodgerblue

Blue 500#3B82F6

rgb(59, 130, 246) · hsl(217, 91%, 60%) · oklch(62% 0.19 260)

Specimen5.71:1
#3B82F6

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 white3.68:1
On black5.71:1
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.

50#E8ECF4
100#DAE2EF
200#B9CCEA
300#94B4E9
400#6A9CED
500#3B82F6
600#1261E1
700#1349A2
800#103167
900#09182F
950#050B15

Color harmonies

Rotations around the hue wheel at the same saturation and lightness.

Complementary#F6AF3B
Analogous −30°#3BDFF6
Analogous +30°#513BF6
Triadic +120°#F63B82
Triadic −120°#82F63B

Copy-ready code

CSS custom properties
:root {
  --dodgerblue: #3b82f6;
  --dodgerblue-rgb: 59 130 246;
  --dodgerblue-oklch: oklch(62% 0.19 260);
}
Alpha without a second variable
background: rgb(var(--dodgerblue-rgb) / 40%);

The space-separated triple lets you set alpha without a second variable:

Tailwind (arbitrary value)
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.

Convert #3B82F6 to other formats

Palettes with a similar colour

Gradients using this colour

Copied