Skip to content

#2dafef

a balanced, electric cyan · cool · closest name: steelblue

RGB
45, 175, 239
HSL
200°, 86%, 56%
CMYK
81, 27, 0, 6
Luminance
0.3745

Every format

HEX#2dafef
RGBrgb(45, 175, 239)
HSLhsl(200, 86%, 56%)
CMYKcmyk(81%, 27%, 0%, 6%)
LABlab(67.6 -12.6 -41.6)
LCHlch(67.6 43.4 253.1)
OKLCHoklch(0.715 0.141 236.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dafef on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#2dafef on black: 8.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green68.6%
Blue93.7%

CMYK percentages

Cyan81.2%
Magenta26.8%
Yellow0.0%
Key (black)6.3%

Color previews

#2dafef text on a black background

contrast 8.49:1

Card sample

#2dafef text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dafef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dafef in the Color Lab