Skip to content

#2f8fdf

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

RGB
47, 143, 223
HSL
207°, 73%, 53%
CMYK
79, 36, 0, 13
Luminance
0.2558

Every format

HEX#2f8fdf
RGBrgb(47, 143, 223)
HSLhsl(207, 73%, 53%)
CMYKcmyk(79%, 36%, 0%, 13%)
LABlab(57.6 0.0 -48.5)
LCHlch(57.6 48.5 270.0)
OKLCHoklch(0.633 0.149 248.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f8fdf on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#2f8fdf on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green56.1%
Blue87.5%

CMYK percentages

Cyan78.9%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#2f8fdf text on a black background

contrast 6.12:1

Card sample

#2f8fdf text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f8fdf in the Color Lab