#217ef1
a balanced, electric blue · cool · closest name: dodgerblue
RGB
33, 126, 241
HSL
213°, 88%, 54%
CMYK
86, 48, 0, 6
Luminance
0.2160
Every format
| HEX | #217ef1 |
| RGB | rgb(33, 126, 241) |
| HSL | hsl(213, 88%, 54%) |
| CMYK | cmyk(86%, 48%, 0%, 6%) |
| LAB | lab(53.6 15.9 -65.0) |
| LCH | lch(53.6 66.9 283.7) |
| OKLCH | oklch(0.605 0.192 256.7) |
Copy-ready code
/* CSS */
color: #217ef1;
background-color: #217ef1;
/* Tailwind (arbitrary) */
class="text-[#217ef1] bg-[#217ef1]"
/* SCSS */
$brand: #217ef1;
/* SwiftUI */
Color(red: 0.129, green: 0.494, blue: 0.945)
/* Android */
Color.parseColor("#217ef1")Accessibility — WCAG contrast
Aa
#217ef1 on white: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#217ef1 on black: 5.32:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.9%
Green49.4%
Blue94.5%
CMYK percentages
Cyan86.3%
Magenta47.7%
Yellow0.0%
Key (black)5.5%
Color previews
#217ef1 text on a black background
contrast 5.32:1
Card sample
#217ef1 text on a white background
contrast 3.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #217ef1;
Background color
Panel with #217ef1 background
background-color: #217ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #217ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(33, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #217ef1; background: linear-gradient(135deg, #217ef1, #4F21F1);