Skip to content

#2f8eed

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

RGB
47, 142, 237
HSL
210°, 84%, 56%
CMYK
80, 40, 0, 7
Luminance
0.2606

Every format

HEX#2f8eed
RGBrgb(47, 142, 237)
HSLhsl(210, 84%, 56%)
CMYKcmyk(80%, 40%, 0%, 7%)
LABlab(58.1 5.7 -55.5)
LCHlch(58.1 55.8 275.9)
OKLCHoklch(0.640 0.167 252.2)

Copy-ready code

/* CSS */
color: #2f8eed;
background-color: #2f8eed;
/* Tailwind (arbitrary) */
class="text-[#2f8eed] bg-[#2f8eed]"
/* SCSS */
$brand: #2f8eed;
/* SwiftUI */
Color(red: 0.184, green: 0.557, blue: 0.929)
/* Android */
Color.parseColor("#2f8eed")

Accessibility — WCAG contrast

Aa
#2f8eed on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#2f8eed on black: 6.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green55.7%
Blue92.9%

CMYK percentages

Cyan80.2%
Magenta40.1%
Yellow0.0%
Key (black)7.1%

Color previews

#2f8eed text on a black background

contrast 6.21:1

Card sample

#2f8eed text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f8eed;
Background color
Panel with #2f8eed background
background-color: #2f8eed;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 142, 237, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 142, 237, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f8eed;
background: linear-gradient(135deg, #2f8eed, #4F2FED);

Monochromatic scale

Palettes built from #2f8eed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8eed in the Color Lab