Skip to content
Vectorlight.net

#126cbb

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

HEX
#126cbb
RGB
18, 108, 187
HSL
208.05°, 82.44%, 40.2%
OKLCH
0.53 0.15 251.38
Names
—
Lists

Codes

FormatValue
HEX#126cbb
RGBrgb(18 108 187)
HSLhsl(208.05 82.44% 40.2%)
OKLCHoklch(0.53 0.15 251.38)
CMYKcmyk(90.37% 42.25% 0% 26.67%)
Android#ff126cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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