Skip to content

#2d89df

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

RGB
45, 137, 223
HSL
209°, 74%, 53%
CMYK
80, 39, 0, 13
Luminance
0.2378

Every format

HEX#2d89df
RGBrgb(45, 137, 223)
HSLhsl(209, 74%, 53%)
CMYKcmyk(80%, 39%, 0%, 13%)
LABlab(55.9 3.4 -51.3)
LCHlch(55.9 51.4 273.8)
OKLCHoklch(0.620 0.155 250.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d89df on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#2d89df on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green53.7%
Blue87.5%

CMYK percentages

Cyan79.8%
Magenta38.6%
Yellow0.0%
Key (black)12.5%

Color previews

#2d89df text on a black background

contrast 5.76:1

Card sample

#2d89df text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 137, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 137, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d89df;
background: linear-gradient(135deg, #2d89df, #472DDF);

Monochromatic scale

Palettes built from #2d89df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d89df in the Color Lab