Skip to content
Vectorlight.net

#124fad

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

HEX
#124fad
RGB
18, 79, 173
HSL
216.39°, 81.15%, 37.45%
OKLCH
0.45 0.16 259.68
Names
—
Lists

Codes

FormatValue
HEX#124fad
RGBrgb(18 79 173)
HSLhsl(216.39 81.15% 37.45%)
OKLCHoklch(0.45 0.16 259.68)
CMYKcmyk(89.6% 54.34% 0% 32.16%)
Android#ff124fad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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