Skip to content
Vectorlight.net

#04b3fc

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

HEX
#04b3fc
RGB
4, 179, 252
HSL
197.66°, 97.64%, 50.2%
OKLCH
0.73 0.16 236.87
Names
—
Lists

Codes

FormatValue
HEX#04b3fc
RGBrgb(4 179 252)
HSLhsl(197.66 97.64% 50.2%)
OKLCHoklch(0.73 0.16 236.87)
CMYKcmyk(98.41% 28.97% 0% 1.18%)
Android#ff04b3fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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