Skip to content
Vectorlight.net

#04dafa

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

HEX
#04dafa
RGB
4, 218, 250
HSL
187.8°, 96.85%, 49.8%
OKLCH
0.82 0.14 213.29
Names
—
Lists

Codes

FormatValue
HEX#04dafa
RGBrgb(4 218 250)
HSLhsl(187.8 96.85% 49.8%)
OKLCHoklch(0.82 0.14 213.29)
CMYKcmyk(98.4% 12.8% 0% 1.96%)
Android#ff04dafa

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

Recolor an SVG with this color

CSS

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