Skip to content

#2c76cc

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

RGB
44, 118, 204
HSL
212°, 65%, 49%
CMYK
78, 42, 0, 20
Luminance
0.1785

Every format

HEX#2c76cc
RGBrgb(44, 118, 204)
HSLhsl(212, 65%, 49%)
CMYKcmyk(78%, 42%, 0%, 20%)
LABlab(49.3 7.8 -51.0)
LCHlch(49.3 51.6 278.7)
OKLCHoklch(0.565 0.151 254.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c76cc on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#2c76cc on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green46.3%
Blue80.0%

CMYK percentages

Cyan78.4%
Magenta42.2%
Yellow0.0%
Key (black)20.0%

Color previews

#2c76cc text on a black background

contrast 4.57:1

Card sample

#2c76cc text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c76cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c76cc in the Color Lab