#2dabfe
a balanced, electric blue · cool · closest name: dodgerblue
RGB
45, 171, 254
HSL
204°, 99%, 59%
CMYK
82, 33, 0, 0
Luminance
0.3684
Every format
| HEX | #2dabfe |
| RGB | rgb(45, 171, 254) |
| HSL | hsl(204, 99%, 59%) |
| CMYK | cmyk(82%, 33%, 0%, 0%) |
| LAB | lab(67.2 -5.1 -50.5) |
| LCH | lch(67.2 50.7 264.2) |
| OKLCH | oklch(0.714 0.160 243.7) |
Copy-ready code
/* CSS */
color: #2dabfe;
background-color: #2dabfe;
/* Tailwind (arbitrary) */
class="text-[#2dabfe] bg-[#2dabfe]"
/* SCSS */
$brand: #2dabfe;
/* SwiftUI */
Color(red: 0.176, green: 0.671, blue: 0.996)
/* Android */
Color.parseColor("#2dabfe")Accessibility — WCAG contrast
Aa
#2dabfe on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2dabfe on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.6%
Green67.1%
Blue99.6%
CMYK percentages
Cyan82.3%
Magenta32.7%
Yellow0.0%
Key (black)0.4%
Color previews
#2dabfe text on a black background
contrast 8.37:1
Card sample
#2dabfe text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2dabfe;
Background color
Panel with #2dabfe background
background-color: #2dabfe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2dabfe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(45, 171, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 171, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2dabfe; background: linear-gradient(135deg, #2dabfe, #3A2DFE);