#339dfd
a balanced, electric blue · cool · closest name: dodgerblue
RGB
51, 157, 253
HSL
209°, 98%, 60%
CMYK
80, 38, 0, 1
Luminance
0.3191
Every format
| HEX | #339dfd |
| RGB | rgb(51, 157, 253) |
| HSL | hsl(209, 98%, 60%) |
| CMYK | cmyk(80%, 38%, 0%, 1%) |
| LAB | lab(63.3 3.0 -56.1) |
| LCH | lch(63.3 56.1 273.1) |
| OKLCH | oklch(0.683 0.170 250.3) |
Copy-ready code
/* CSS */
color: #339dfd;
background-color: #339dfd;
/* Tailwind (arbitrary) */
class="text-[#339dfd] bg-[#339dfd]"
/* SCSS */
$brand: #339dfd;
/* SwiftUI */
Color(red: 0.200, green: 0.616, blue: 0.992)
/* Android */
Color.parseColor("#339dfd")Accessibility — WCAG contrast
Aa
#339dfd on white: 2.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#339dfd on black: 7.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green61.6%
Blue99.2%
CMYK percentages
Cyan79.8%
Magenta37.9%
Yellow0.0%
Key (black)0.8%
Color previews
#339dfd text on a black background
contrast 7.38:1
Card sample
#339dfd text on a white background
contrast 2.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #339dfd;
Background color
Panel with #339dfd background
background-color: #339dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #339dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 157, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 157, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #339dfd; background: linear-gradient(135deg, #339dfd, #5033FD);