Skip to content

#339afd

a balanced, electric blue · cool · closest name: dodgerblue

RGB
51, 154, 253
HSL
209°, 98%, 60%
CMYK
80, 39, 0, 1
Luminance
0.3091

Every format

HEX#339afd
RGBrgb(51, 154, 253)
HSLhsl(209, 98%, 60%)
CMYKcmyk(80%, 39%, 0%, 1%)
LABlab(62.4 4.8 -57.4)
LCHlch(62.4 57.6 274.8)
OKLCHoklch(0.676 0.173 251.5)

Copy-ready code

/* CSS */
color: #339afd;
background-color: #339afd;
/* Tailwind (arbitrary) */
class="text-[#339afd] bg-[#339afd]"
/* SCSS */
$brand: #339afd;
/* SwiftUI */
Color(red: 0.200, green: 0.604, blue: 0.992)
/* Android */
Color.parseColor("#339afd")

Accessibility — WCAG contrast

Aa
#339afd on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#339afd on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green60.4%
Blue99.2%

CMYK percentages

Cyan79.8%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#339afd text on a black background

contrast 7.18:1

Card sample

#339afd text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #339afd;
Background color
Panel with #339afd background
background-color: #339afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #339afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(51, 154, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 154, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #339afd;
background: linear-gradient(135deg, #339afd, #5333FD);

Monochromatic scale

Palettes built from #339afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #339afd in the Color Lab