Skip to content
Vectorlight.net

#126dcb

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

HEX
#126dcb
RGB
18, 109, 203
HSL
210.49°, 83.71%, 43.33%
OKLCH
0.54 0.17 254.55
Names
—
Lists

Codes

FormatValue
HEX#126dcb
RGBrgb(18 109 203)
HSLhsl(210.49 83.71% 43.33%)
OKLCHoklch(0.54 0.17 254.55)
CMYKcmyk(91.13% 46.31% 0% 20.39%)
Android#ff126dcb

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

Recolor an SVG with this color

CSS

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