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