#2cabfc
a balanced, electric blue · cool · closest name: dodgerblue
RGB
44, 171, 252
HSL
203°, 97%, 58%
CMYK
83, 32, 0, 1
Luminance
0.3669
Every format
| HEX | #2cabfc |
| RGB | rgb(44, 171, 252) |
| HSL | hsl(203, 97%, 58%) |
| CMYK | cmyk(83%, 32%, 0%, 1%) |
| LAB | lab(67.0 -5.9 -49.5) |
| LCH | lch(67.0 49.9 263.2) |
| OKLCH | oklch(0.712 0.158 243.0) |
Copy-ready code
/* CSS */
color: #2cabfc;
background-color: #2cabfc;
/* Tailwind (arbitrary) */
class="text-[#2cabfc] bg-[#2cabfc]"
/* SCSS */
$brand: #2cabfc;
/* SwiftUI */
Color(red: 0.173, green: 0.671, blue: 0.988)
/* Android */
Color.parseColor("#2cabfc")Accessibility — WCAG contrast
Aa
#2cabfc on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2cabfc on black: 8.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green67.1%
Blue98.8%
CMYK percentages
Cyan82.5%
Magenta32.1%
Yellow0.0%
Key (black)1.2%
Color previews
#2cabfc text on a black background
contrast 8.34:1
Card sample
#2cabfc text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2cabfc;
Background color
Panel with #2cabfc background
background-color: #2cabfc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2cabfc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 171, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 171, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2cabfc; background: linear-gradient(135deg, #2cabfc, #382CFC);