Skip to content
Vectorlight.net

#181e2d

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

HEX
#181e2d
RGB
24, 30, 45
HSL
222.86°, 30.43%, 13.53%
OKLCH
0.24 0.03 267.3
Names
—
Lists

Codes

FormatValue
HEX#181e2d
RGBrgb(24 30 45)
HSLhsl(222.86 30.43% 13.53%)
OKLCHoklch(0.24 0.03 267.3)
CMYKcmyk(46.67% 33.33% 0% 82.35%)
Android#ff181e2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #181e2d;
background-color: #181e2d;
bg-[#181e2d]