#339df8
a balanced, electric blue · cool · closest name: dodgerblue
RGB
51, 157, 248
HSL
208°, 93%, 59%
CMYK
79, 37, 0, 3
Luminance
0.3160
Every format
| HEX | #339df8 |
| RGB | rgb(51, 157, 248) |
| HSL | hsl(208, 93%, 59%) |
| CMYK | cmyk(79%, 37%, 0%, 3%) |
| LAB | lab(63.0 1.3 -53.7) |
| LCH | lch(63.0 53.8 271.3) |
| OKLCH | oklch(0.680 0.164 249.1) |
Copy-ready code
/* CSS */
color: #339df8;
background-color: #339df8;
/* Tailwind (arbitrary) */
class="text-[#339df8] bg-[#339df8]"
/* SCSS */
$brand: #339df8;
/* SwiftUI */
Color(red: 0.200, green: 0.616, blue: 0.973)
/* Android */
Color.parseColor("#339df8")Accessibility — WCAG contrast
Aa
#339df8 on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#339df8 on black: 7.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green61.6%
Blue97.3%
CMYK percentages
Cyan79.4%
Magenta36.7%
Yellow0.0%
Key (black)2.7%
Color previews
#339df8 text on a black background
contrast 7.32:1
Card sample
#339df8 text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #339df8;
Background color
Panel with #339df8 background
background-color: #339df8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #339df8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 157, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 157, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #339df8; background: linear-gradient(135deg, #339df8, #4C33F8);