Skip to content
Vectorlight.net

#124387

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

HEX
#124387
RGB
18, 67, 135
HSL
214.87°, 76.47%, 30%
OKLCH
0.39 0.13 257.99
Names
—
Lists

Codes

FormatValue
HEX#124387
RGBrgb(18 67 135)
HSLhsl(214.87 76.47% 30%)
OKLCHoklch(0.39 0.13 257.99)
CMYKcmyk(86.67% 50.37% 0% 47.06%)
Android#ff124387

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #124387;
background-color: #124387;
bg-[#124387]