Skip to content
Vectorlight.net

#04768b

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

HEX
#04768b
RGB
4, 118, 139
HSL
189.33°, 94.41%, 28.04%
OKLCH
0.52 0.09 216.03
Names
—
Lists

Codes

FormatValue
HEX#04768b
RGBrgb(4 118 139)
HSLhsl(189.33 94.41% 28.04%)
OKLCHoklch(0.52 0.09 216.03)
CMYKcmyk(97.12% 15.11% 0% 45.49%)
Android#ff04768b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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