Skip to content

#2dbafc

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

RGB
45, 186, 252
HSL
199°, 97%, 58%
CMYK
82, 26, 0, 1
Luminance
0.4270

Every format

HEX#2dbafc
RGBrgb(45, 186, 252)
HSLhsl(199, 97%, 58%)
CMYKcmyk(82%, 26%, 0%, 1%)
LABlab(71.3 -14.1 -42.8)
LCHlch(71.3 45.0 251.8)
OKLCHoklch(0.747 0.147 235.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2dbafc on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#2dbafc on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green72.9%
Blue98.8%

CMYK percentages

Cyan82.1%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#2dbafc text on a black background

contrast 9.54:1

Card sample

#2dbafc text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2dbafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2dbafc in the Color Lab