Skip to content
Vectorlight.net

#126dcd

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

HEX
#126dcd
RGB
18, 109, 205
HSL
210.8°, 83.86%, 43.73%
OKLCH
0.54 0.17 254.92
Names
—
Lists

Codes

FormatValue
HEX#126dcd
RGBrgb(18 109 205)
HSLhsl(210.8 83.86% 43.73%)
OKLCHoklch(0.54 0.17 254.92)
CMYKcmyk(91.22% 46.83% 0% 19.61%)
Android#ff126dcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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