Skip to content

#2c80df

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

RGB
44, 128, 223
HSL
212°, 74%, 52%
CMYK
80, 43, 0, 13
Luminance
0.2130

Every format

HEX#2c80df
RGBrgb(44, 128, 223)
HSLhsl(212, 74%, 52%)
CMYKcmyk(80%, 43%, 0%, 13%)
LABlab(53.3 8.7 -55.4)
LCHlch(53.3 56.1 279.0)
OKLCHoklch(0.599 0.165 254.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c80df on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#2c80df on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green50.2%
Blue87.5%

CMYK percentages

Cyan80.3%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#2c80df text on a black background

contrast 5.26:1

Card sample

#2c80df text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c80df;
background: linear-gradient(135deg, #2c80df, #4F2CDF);

Monochromatic scale

Palettes built from #2c80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c80df in the Color Lab