Skip to content

#217fef

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

RGB
33, 127, 239
HSL
213°, 87%, 53%
CMYK
86, 47, 0, 6
Luminance
0.2173

Every format

HEX#217fef
RGBrgb(33, 127, 239)
HSLhsl(213, 87%, 53%)
CMYKcmyk(86%, 47%, 0%, 6%)
LABlab(53.7 14.5 -63.6)
LCHlch(53.7 65.2 282.8)
OKLCHoklch(0.605 0.189 256.1)

Copy-ready code

/* CSS */
color: #217fef;
background-color: #217fef;
/* Tailwind (arbitrary) */
class="text-[#217fef] bg-[#217fef]"
/* SCSS */
$brand: #217fef;
/* SwiftUI */
Color(red: 0.129, green: 0.498, blue: 0.937)
/* Android */
Color.parseColor("#217fef")

Accessibility — WCAG contrast

Aa
#217fef on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#217fef on black: 5.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green49.8%
Blue93.7%

CMYK percentages

Cyan86.2%
Magenta46.9%
Yellow0.0%
Key (black)6.3%

Color previews

#217fef text on a black background

contrast 5.35:1

Card sample

#217fef text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #217fef;
Background color
Panel with #217fef background
background-color: #217fef;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #217fef;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(33, 127, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 127, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #217fef;
background: linear-gradient(135deg, #217fef, #4C21EF);

Monochromatic scale

Palettes built from #217fef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #217fef in the Color Lab