Skip to content
Vectorlight.net

#124bec

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

HEX
#124bec
RGB
18, 75, 236
HSL
224.31°, 85.83%, 49.8%
OKLCH
0.5 0.25 264
Names
—
Lists

Codes

FormatValue
HEX#124bec
RGBrgb(18 75 236)
HSLhsl(224.31 85.83% 49.8%)
OKLCHoklch(0.5 0.25 264)
CMYKcmyk(92.37% 68.22% 0% 7.45%)
Android#ff124bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #124bec;
background-color: #124bec;
bg-[#124bec]