Skip to content

#2f8eee

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

RGB
47, 142, 238
HSL
210°, 85%, 56%
CMYK
80, 40, 0, 7
Luminance
0.2612

Every format

HEX#2f8eee
RGBrgb(47, 142, 238)
HSLhsl(210, 85%, 56%)
CMYKcmyk(80%, 40%, 0%, 7%)
LABlab(58.1 6.1 -56.0)
LCHlch(58.1 56.3 276.2)
OKLCHoklch(0.640 0.168 252.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f8eee on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#2f8eee on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green55.7%
Blue93.3%

CMYK percentages

Cyan80.3%
Magenta40.3%
Yellow0.0%
Key (black)6.7%

Color previews

#2f8eee text on a black background

contrast 6.22:1

Card sample

#2f8eee text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f8eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8eee in the Color Lab