Skip to content

#2d99cf

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

RGB
45, 153, 207
HSL
200°, 64%, 49%
CMYK
78, 26, 0, 19
Luminance
0.2785

Every format

HEX#2d99cf
RGBrgb(45, 153, 207)
HSLhsl(200, 64%, 49%)
CMYKcmyk(78%, 26%, 0%, 19%)
LABlab(59.8 -11.7 -36.2)
LCHlch(59.8 38.0 252.2)
OKLCHoklch(0.648 0.124 235.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d99cf on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#2d99cf on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green60.0%
Blue81.2%

CMYK percentages

Cyan78.3%
Magenta26.1%
Yellow0.0%
Key (black)18.8%

Color previews

#2d99cf text on a black background

contrast 6.57:1

Card sample

#2d99cf text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d99cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d99cf in the Color Lab