Skip to content

#2d8fdf

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

RGB
45, 143, 223
HSL
207°, 74%, 53%
CMYK
80, 36, 0, 13
Luminance
0.2553

Every format

HEX#2d8fdf
RGBrgb(45, 143, 223)
HSLhsl(207, 74%, 53%)
CMYKcmyk(80%, 36%, 0%, 13%)
LABlab(57.6 -0.2 -48.5)
LCHlch(57.6 48.5 269.8)
OKLCHoklch(0.633 0.149 248.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d8fdf on white: 3.44:1
AA ✗ fail · AA-large · AAA
Aa
#2d8fdf on black: 6.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green56.1%
Blue87.5%

CMYK percentages

Cyan79.8%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#2d8fdf text on a black background

contrast 6.11:1

Card sample

#2d8fdf text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d8fdf in the Color Lab