#2caafd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
44, 170, 253
HSL
204°, 98%, 58%
CMYK
83, 33, 0, 1
Luminance
0.3638
Every format
| HEX | #2caafd |
| RGB | rgb(44, 170, 253) |
| HSL | hsl(204, 98%, 58%) |
| CMYK | cmyk(83%, 33%, 0%, 1%) |
| LAB | lab(66.8 -5.0 -50.5) |
| LCH | lch(66.8 50.7 264.3) |
| OKLCH | oklch(0.711 0.160 243.7) |
Copy-ready code
/* CSS */
color: #2caafd;
background-color: #2caafd;
/* Tailwind (arbitrary) */
class="text-[#2caafd] bg-[#2caafd]"
/* SCSS */
$brand: #2caafd;
/* SwiftUI */
Color(red: 0.173, green: 0.667, blue: 0.992)
/* Android */
Color.parseColor("#2caafd")Accessibility — WCAG contrast
Aa
#2caafd on white: 2.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2caafd on black: 8.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green66.7%
Blue99.2%
CMYK percentages
Cyan82.6%
Magenta32.8%
Yellow0.0%
Key (black)0.8%
Color previews
#2caafd text on a black background
contrast 8.28:1
Card sample
#2caafd text on a white background
contrast 2.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2caafd;
Background color
Panel with #2caafd background
background-color: #2caafd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2caafd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 170, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 170, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2caafd; background: linear-gradient(135deg, #2caafd, #392CFD);