Skip to content

#2d8abc

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

RGB
45, 138, 188
HSL
201°, 61%, 46%
CMYK
76, 27, 0, 26
Luminance
0.2237

Every format

HEX#2d8abc
RGBrgb(45, 138, 188)
HSLhsl(201, 61%, 46%)
CMYKcmyk(76%, 27%, 0%, 26%)
LABlab(54.4 -9.9 -33.8)
LCHlch(54.4 35.2 253.7)
OKLCHoklch(0.602 0.114 237.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d8abc on white: 3.84:1
AA ✗ fail · AA-large · AAA
Aa
#2d8abc on black: 5.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green54.1%
Blue73.7%

CMYK percentages

Cyan76.1%
Magenta26.6%
Yellow0.0%
Key (black)26.3%

Color previews

#2d8abc text on a black background

contrast 5.47:1

Card sample

#2d8abc text on a white background

contrast 3.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 138, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 138, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d8abc;
background: linear-gradient(135deg, #2d8abc, #2F2DBC);

Monochromatic scale

Palettes built from #2d8abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d8abc in the Color Lab