Skip to content
Vectorlight.net

#2aafeb

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

HEX
#2aafeb
RGB
42, 175, 235
HSL
198.65°, 82.83%, 54.31%
OKLCH
0.71 0.14 234.11
Names
—
Lists

Codes

FormatValue
HEX#2aafeb
RGBrgb(42 175 235)
HSLhsl(198.65 82.83% 54.31%)
OKLCHoklch(0.71 0.14 234.11)
CMYKcmyk(82.13% 25.53% 0% 7.84%)
Android#ff2aafeb

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.43: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="#2aafeb"
Gradient stop
<stop stop-color="#2aafeb"/>
CSS variable + fill
:root { --c: #2aafeb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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