Skip to content
Vectorlight.net

#04afeb

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

HEX
#04afeb
RGB
4, 175, 235
HSL
195.58°, 96.65%, 46.86%
OKLCH
0.71 0.14 232.19
Names
—
Lists

Codes

FormatValue
HEX#04afeb
RGBrgb(4 175 235)
HSLhsl(195.58 96.65% 46.86%)
OKLCHoklch(0.71 0.14 232.19)
CMYKcmyk(98.3% 25.53% 0% 7.84%)
Android#ff04afeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04afeb;
background-color: #04afeb;
bg-[#04afeb]