Skip to content
Vectorlight.net

#126cba

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

HEX
#126cba
RGB
18, 108, 186
HSL
207.86°, 82.35%, 40%
OKLCH
0.52 0.15 251.12
Names
—
Lists

Codes

FormatValue
HEX#126cba
RGBrgb(18 108 186)
HSLhsl(207.86 82.35% 40%)
OKLCHoklch(0.52 0.15 251.12)
CMYKcmyk(90.32% 41.94% 0% 27.06%)
Android#ff126cba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #126cba;
background-color: #126cba;
bg-[#126cba]