Skip to content
Vectorlight.net

#28daf2

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

HEX
#28daf2
RGB
40, 218, 242
HSL
187.13°, 88.6%, 55.29%
OKLCH
0.82 0.13 209.44
Names
—
Lists

Codes

FormatValue
HEX#28daf2
RGBrgb(40 218 242)
HSLhsl(187.13 88.6% 55.29%)
OKLCHoklch(0.82 0.13 209.44)
CMYKcmyk(83.47% 9.92% 0% 5.1%)
Android#ff28daf2

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.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="#28daf2"
Gradient stop
<stop stop-color="#28daf2"/>
CSS variable + fill
:root { --c: #28daf2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #28daf2;
background-color: #28daf2;
bg-[#28daf2]