Skip to content
Vectorlight.net

#12759c

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

HEX
#12759c
RGB
18, 117, 156
HSL
196.96°, 79.31%, 34.12%
OKLCH
0.53 0.1 231.64
Names
—
Lists

Codes

FormatValue
HEX#12759c
RGBrgb(18 117 156)
HSLhsl(196.96 79.31% 34.12%)
OKLCHoklch(0.53 0.1 231.64)
CMYKcmyk(88.46% 25% 0% 38.82%)
Android#ff12759c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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