Skip to content

#2f89db

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

RGB
47, 137, 219
HSL
209°, 71%, 52%
CMYK
79, 37, 0, 14
Luminance
0.2361

Every format

HEX#2f89db
RGBrgb(47, 137, 219)
HSLhsl(209, 71%, 52%)
CMYKcmyk(79%, 37%, 0%, 14%)
LABlab(55.7 2.1 -49.3)
LCHlch(55.7 49.3 272.4)
OKLCHoklch(0.618 0.150 250.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f89db on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#2f89db on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green53.7%
Blue85.9%

CMYK percentages

Cyan78.5%
Magenta37.4%
Yellow0.0%
Key (black)14.1%

Color previews

#2f89db text on a black background

contrast 5.72:1

Card sample

#2f89db text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f89db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f89db in the Color Lab