Skip to content
Vectorlight.net

#04aefb

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

HEX
#04aefb
RGB
4, 174, 251
HSL
198.7°, 96.86%, 50%
OKLCH
0.71 0.16 239
Names
—
Lists

Codes

FormatValue
HEX#04aefb
RGBrgb(4 174 251)
HSLhsl(198.7 96.86% 50%)
OKLCHoklch(0.71 0.16 239)
CMYKcmyk(98.41% 30.68% 0% 1.57%)
Android#ff04aefb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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