Skip to content
Vectorlight.net

#12838e

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

HEX
#12838e
RGB
18, 131, 142
HSL
185.32°, 77.5%, 31.37%
OKLCH
0.56 0.09 205.58
Names
—
Lists

Codes

FormatValue
HEX#12838e
RGBrgb(18 131 142)
HSLhsl(185.32 77.5% 31.37%)
OKLCHoklch(0.56 0.09 205.58)
CMYKcmyk(87.32% 7.75% 0% 44.31%)
Android#ff12838e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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