Skip to content

#2e8fdf

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

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

Every format

HEX#2e8fdf
RGBrgb(46, 143, 223)
HSLhsl(207, 73%, 53%)
CMYKcmyk(79%, 36%, 0%, 13%)
LABlab(57.6 -0.1 -48.5)
LCHlch(57.6 48.5 269.9)
OKLCHoklch(0.633 0.149 248.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.0%
Green56.1%
Blue87.5%

CMYK percentages

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

Color previews

#2e8fdf text on a black background

contrast 6.11:1

Card sample

#2e8fdf text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2e8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e8fdf in the Color Lab