Skip to content
Vectorlight.net

#12759f

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

HEX
#12759f
RGB
18, 117, 159
HSL
197.87°, 79.66%, 34.71%
OKLCH
0.53 0.11 233.61
Names
—
Lists

Codes

FormatValue
HEX#12759f
RGBrgb(18 117 159)
HSLhsl(197.87 79.66% 34.71%)
OKLCHoklch(0.53 0.11 233.61)
CMYKcmyk(88.68% 26.42% 0% 37.65%)
Android#ff12759f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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