#2facf6
a balanced, electric blue · cool · closest name: steelblue
RGB
47, 172, 246
HSL
202°, 92%, 58%
CMYK
81, 30, 0, 4
Luminance
0.3676
Every format
| HEX | #2facf6 |
| RGB | rgb(47, 172, 246) |
| HSL | hsl(202, 92%, 58%) |
| CMYK | cmyk(81%, 30%, 0%, 4%) |
| LAB | lab(67.1 -8.3 -46.2) |
| LCH | lch(67.1 46.9 259.8) |
| OKLCH | oklch(0.712 0.150 240.7) |
Copy-ready code
/* CSS */
color: #2facf6;
background-color: #2facf6;
/* Tailwind (arbitrary) */
class="text-[#2facf6] bg-[#2facf6]"
/* SCSS */
$brand: #2facf6;
/* SwiftUI */
Color(red: 0.184, green: 0.675, blue: 0.965)
/* Android */
Color.parseColor("#2facf6")Accessibility — WCAG contrast
Aa
#2facf6 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2facf6 on black: 8.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green67.5%
Blue96.5%
CMYK percentages
Cyan80.9%
Magenta30.1%
Yellow0.0%
Key (black)3.5%
Color previews
#2facf6 text on a black background
contrast 8.35:1
Card sample
#2facf6 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2facf6;
Background color
Panel with #2facf6 background
background-color: #2facf6;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2facf6;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 172, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 172, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2facf6; background: linear-gradient(135deg, #2facf6, #372FF6);