Skip to content
Vectorlight.net

#04768c

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

HEX
#04768c
RGB
4, 118, 140
HSL
189.71°, 94.44%, 28.24%
OKLCH
0.52 0.09 216.95
Names
—
Lists

Codes

FormatValue
HEX#04768c
RGBrgb(4 118 140)
HSLhsl(189.71 94.44% 28.24%)
OKLCHoklch(0.52 0.09 216.95)
CMYKcmyk(97.14% 15.71% 0% 45.1%)
Android#ff04768c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.97:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #04768c;
background-color: #04768c;
bg-[#04768c]