Skip to content
Vectorlight.net

#124adb

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

HEX
#124adb
RGB
18, 74, 219
HSL
223.28°, 84.81%, 46.47%
OKLCH
0.48 0.23 263.68
Names
—
Lists

Codes

FormatValue
HEX#124adb
RGBrgb(18 74 219)
HSLhsl(223.28 84.81% 46.47%)
OKLCHoklch(0.48 0.23 263.68)
CMYKcmyk(91.78% 66.21% 0% 14.12%)
Android#ff124adb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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