Skip to content

#3391eb

a balanced, electric blue · cool · closest name: dodgerblue

RGB
51, 145, 235
HSL
209°, 82%, 56%
CMYK
78, 38, 0, 8
Luminance
0.2695

Every format

HEX#3391eb
RGBrgb(51, 145, 235)
HSLhsl(209, 82%, 56%)
CMYKcmyk(78%, 38%, 0%, 8%)
LABlab(58.9 3.6 -53.1)
LCHlch(58.9 53.2 273.9)
OKLCHoklch(0.646 0.160 251.1)

Copy-ready code

/* CSS */
color: #3391eb;
background-color: #3391eb;
/* Tailwind (arbitrary) */
class="text-[#3391eb] bg-[#3391eb]"
/* SCSS */
$brand: #3391eb;
/* SwiftUI */
Color(red: 0.200, green: 0.569, blue: 0.922)
/* Android */
Color.parseColor("#3391eb")

Accessibility — WCAG contrast

Aa
#3391eb on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#3391eb on black: 6.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green56.9%
Blue92.2%

CMYK percentages

Cyan78.3%
Magenta38.3%
Yellow0.0%
Key (black)7.8%

Color previews

#3391eb text on a black background

contrast 6.39:1

Card sample

#3391eb text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3391eb;
Background color
Panel with #3391eb background
background-color: #3391eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3391eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(51, 145, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 145, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3391eb;
background: linear-gradient(135deg, #3391eb, #5033EB);

Monochromatic scale

Palettes built from #3391eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3391eb in the Color Lab