Skip to content

#2f91db

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

RGB
47, 145, 219
HSL
206°, 71%, 52%
CMYK
79, 34, 0, 14
Luminance
0.2597

Every format

HEX#2f91db
RGBrgb(47, 145, 219)
HSLhsl(206, 71%, 52%)
CMYKcmyk(79%, 34%, 0%, 14%)
LABlab(58.0 -2.6 -45.6)
LCHlch(58.0 45.7 266.7)
OKLCHoklch(0.636 0.142 246.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f91db on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#2f91db on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green56.9%
Blue85.9%

CMYK percentages

Cyan78.5%
Magenta33.8%
Yellow0.0%
Key (black)14.1%

Color previews

#2f91db text on a black background

contrast 6.19:1

Card sample

#2f91db text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 145, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 145, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f91db;
background: linear-gradient(135deg, #2f91db, #402FDB);

Monochromatic scale

Palettes built from #2f91db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f91db in the Color Lab