Skip to content
Vectorlight.net

#12759e

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

HEX
#12759e
RGB
18, 117, 158
HSL
197.57°, 79.55%, 34.51%
OKLCH
0.53 0.1 232.97
Names
—
Lists

Codes

FormatValue
HEX#12759e
RGBrgb(18 117 158)
HSLhsl(197.57 79.55% 34.51%)
OKLCHoklch(0.53 0.1 232.97)
CMYKcmyk(88.61% 25.95% 0% 38.04%)
Android#ff12759e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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