Skip to content

#2f9ce2

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

RGB
47, 156, 226
HSL
204°, 76%, 54%
CMYK
79, 31, 0, 11
Luminance
0.2987

Every format

HEX#2f9ce2
RGBrgb(47, 156, 226)
HSLhsl(204, 76%, 54%)
CMYKcmyk(79%, 31%, 0%, 11%)
LABlab(61.5 -6.4 -44.0)
LCHlch(61.5 44.4 261.7)
OKLCHoklch(0.665 0.141 242.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f9ce2 on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#2f9ce2 on black: 6.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green61.2%
Blue88.6%

CMYK percentages

Cyan79.2%
Magenta31.0%
Yellow0.0%
Key (black)11.4%

Color previews

#2f9ce2 text on a black background

contrast 6.97:1

Card sample

#2f9ce2 text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 156, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 156, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f9ce2;
background: linear-gradient(135deg, #2f9ce2, #392FE2);

Monochromatic scale

Palettes built from #2f9ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f9ce2 in the Color Lab