Skip to content
Vectorlight.net

#2dacfb

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#2dacfb
RGB
45, 172, 251
HSL
203.01°, 96.26%, 58.04%
OKLCH
0.71 0.16 242.24
Names
—
Lists

Codes

FormatValue
HEX#2dacfb
RGBrgb(45 172 251)
HSLhsl(203.01 96.26% 58.04%)
OKLCHoklch(0.71 0.16 242.24)
CMYKcmyk(82.07% 31.47% 0% 1.57%)
Android#ff2dacfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.40:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#2dacfb"
Gradient stop
<stop stop-color="#2dacfb"/>
CSS variable + fill
:root { --c: #2dacfb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #2dacfb;
background-color: #2dacfb;
bg-[#2dacfb]