Skip to content
Vectorlight.net

#124dfa

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

HEX
#124dfa
RGB
18, 77, 250
HSL
224.74°, 95.87%, 52.55%
OKLCH
0.52 0.26 264.09
Names
—
Lists

Codes

FormatValue
HEX#124dfa
RGBrgb(18 77 250)
HSLhsl(224.74 95.87% 52.55%)
OKLCHoklch(0.52 0.26 264.09)
CMYKcmyk(92.8% 69.2% 0% 1.96%)
Android#ff124dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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