Skip to content
Vectorlight.net

#126ef3

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

HEX
#126ef3
RGB
18, 110, 243
HSL
215.47°, 90.36%, 51.18%
OKLCH
0.57 0.22 259.5
Names
—
Lists

Codes

FormatValue
HEX#126ef3
RGBrgb(18 110 243)
HSLhsl(215.47 90.36% 51.18%)
OKLCHoklch(0.57 0.22 259.5)
CMYKcmyk(92.59% 54.73% 0% 4.71%)
Android#ff126ef3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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