Skip to content
Vectorlight.net

#04afcc

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

HEX
#04afcc
RGB
4, 175, 204
HSL
188.7°, 96.15%, 40.78%
OKLCH
0.69 0.12 215.24
Names
—
Lists

Codes

FormatValue
HEX#04afcc
RGBrgb(4 175 204)
HSLhsl(188.7 96.15% 40.78%)
OKLCHoklch(0.69 0.12 215.24)
CMYKcmyk(98.04% 14.22% 0% 20%)
Android#ff04afcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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