#2faaff
a balanced, electric blue · cool · closest name: dodgerblue
RGB
47, 170, 255
HSL
205°, 100%, 59%
CMYK
82, 33, 0, 0
Luminance
0.3657
Every format
| HEX | #2faaff |
| RGB | rgb(47, 170, 255) |
| HSL | hsl(205, 100%, 59%) |
| CMYK | cmyk(82%, 33%, 0%, 0%) |
| LAB | lab(67.0 -4.0 -51.3) |
| LCH | lch(67.0 51.5 265.5) |
| OKLCH | oklch(0.712 0.162 244.7) |
Copy-ready code
/* CSS */
color: #2faaff;
background-color: #2faaff;
/* Tailwind (arbitrary) */
class="text-[#2faaff] bg-[#2faaff]"
/* SCSS */
$brand: #2faaff;
/* SwiftUI */
Color(red: 0.184, green: 0.667, blue: 1.000)
/* Android */
Color.parseColor("#2faaff")Accessibility — WCAG contrast
Aa
#2faaff on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2faaff on black: 8.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.4%
Green66.7%
Blue100.0%
CMYK percentages
Cyan81.6%
Magenta33.3%
Yellow0.0%
Key (black)0.0%
Color previews
#2faaff text on a black background
contrast 8.31:1
Card sample
#2faaff text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2faaff;
Background color
Panel with #2faaff background
background-color: #2faaff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2faaff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(47, 170, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 170, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2faaff; background: linear-gradient(135deg, #2faaff, #3F2FFF);