Skip to content
Vectorlight.net

#04879e

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

HEX
#04879e
RGB
4, 135, 158
HSL
188.96°, 95.06%, 31.76%
OKLCH
0.57 0.1 215.41
Names
—
Lists

Codes

FormatValue
HEX#04879e
RGBrgb(4 135 158)
HSLhsl(188.96 95.06% 31.76%)
OKLCHoklch(0.57 0.1 215.41)
CMYKcmyk(97.47% 14.56% 0% 38.04%)
Android#ff04879e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04879e;
background-color: #04879e;
bg-[#04879e]