Skip to content
Vectorlight.net

#126cff

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

HEX
#126cff
RGB
18, 108, 255
HSL
217.22°, 100%, 53.53%
OKLCH
0.58 0.23 260.76
Names
—
Lists

Codes

FormatValue
HEX#126cff
RGBrgb(18 108 255)
HSLhsl(217.22 100% 53.53%)
OKLCHoklch(0.58 0.23 260.76)
CMYKcmyk(92.94% 57.65% 0% 0%)
Android#ff126cff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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