Skip to content

#2f9fef

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

RGB
47, 159, 239
HSL
205°, 86%, 56%
CMYK
80, 34, 0, 6
Luminance
0.3163

Every format

HEX#2f9fef
RGBrgb(47, 159, 239)
HSLhsl(205, 86%, 56%)
CMYKcmyk(80%, 34%, 0%, 6%)
LABlab(63.0 -3.5 -48.8)
LCHlch(63.0 48.9 265.9)
OKLCHoklch(0.679 0.153 245.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9fef on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#2f9fef on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green62.4%
Blue93.7%

CMYK percentages

Cyan80.3%
Magenta33.5%
Yellow0.0%
Key (black)6.3%

Color previews

#2f9fef text on a black background

contrast 7.33:1

Card sample

#2f9fef text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 159, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 159, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f9fef;
background: linear-gradient(135deg, #2f9fef, #3F2FEF);

Monochromatic scale

Palettes built from #2f9fef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f9fef in the Color Lab