#2fabfd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
47, 171, 253
HSL
204°, 98%, 59%
CMYK
81, 32, 0, 1
Luminance
0.3682
Every format
| HEX | #2fabfd |
| RGB | rgb(47, 171, 253) |
| HSL | hsl(204, 98%, 59%) |
| CMYK | cmyk(81%, 32%, 0%, 1%) |
| LAB | lab(67.1 -5.3 -49.9) |
| LCH | lch(67.1 50.2 263.9) |
| OKLCH | oklch(0.713 0.159 243.6) |
Copy-ready code
/* CSS */
color: #2fabfd;
background-color: #2fabfd;
/* Tailwind (arbitrary) */
class="text-[#2fabfd] bg-[#2fabfd]"
/* SCSS */
$brand: #2fabfd;
/* SwiftUI */
Color(red: 0.184, green: 0.671, blue: 0.992)
/* Android */
Color.parseColor("#2fabfd")Accessibility — WCAG contrast
Aa
#2fabfd on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2fabfd on black: 8.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green67.1%
Blue99.2%
CMYK percentages
Cyan81.4%
Magenta32.4%
Yellow0.0%
Key (black)0.8%
Color previews
#2fabfd text on a black background
contrast 8.36:1
Card sample
#2fabfd text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2fabfd;
Background color
Panel with #2fabfd background
background-color: #2fabfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2fabfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 171, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 171, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fabfd; background: linear-gradient(135deg, #2fabfd, #3C2FFD);