Skip to content
Vectorlight.net

#04b6fd

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

HEX
#04b6fd
RGB
4, 182, 253
HSL
197.11°, 98.42%, 50.39%
OKLCH
0.73 0.16 235.71
Names
—
Lists

Codes

FormatValue
HEX#04b6fd
RGBrgb(4 182 253)
HSLhsl(197.11 98.42% 50.39%)
OKLCHoklch(0.73 0.16 235.71)
CMYKcmyk(98.42% 28.06% 0% 0.78%)
Android#ff04b6fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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