Skip to content

#2d9cdc

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

RGB
45, 156, 220
HSL
202°, 71%, 52%
CMYK
80, 29, 0, 14
Luminance
0.2950

Every format

HEX#2d9cdc
RGBrgb(45, 156, 220)
HSLhsl(202, 71%, 52%)
CMYKcmyk(80%, 29%, 0%, 14%)
LABlab(61.2 -8.8 -41.1)
LCHlch(61.2 42.0 258.0)
OKLCHoklch(0.661 0.135 239.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d9cdc on white: 3.04:1
AA ✗ fail · AA-large · AAA
Aa
#2d9cdc on black: 6.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green61.2%
Blue86.3%

CMYK percentages

Cyan79.5%
Magenta29.1%
Yellow0.0%
Key (black)13.7%

Color previews

#2d9cdc text on a black background

contrast 6.90:1

Card sample

#2d9cdc text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 156, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 156, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d9cdc;
background: linear-gradient(135deg, #2d9cdc, #332DDC);

Monochromatic scale

Palettes built from #2d9cdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d9cdc in the Color Lab