Skip to content
Vectorlight.net

#18366e

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

HEX
#18366e
RGB
24, 54, 110
HSL
219.07°, 64.18%, 26.27%
OKLCH
0.34 0.1 261.51
Names
—
Lists

Codes

FormatValue
HEX#18366e
RGBrgb(24 54 110)
HSLhsl(219.07 64.18% 26.27%)
OKLCHoklch(0.34 0.1 261.51)
CMYKcmyk(78.18% 50.91% 0% 56.86%)
Android#ff18366e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #18366e;
background-color: #18366e;
bg-[#18366e]