Skip to content
Vectorlight.net

#18293d

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

HEX
#18293d
RGB
24, 41, 61
HSL
212.43°, 43.53%, 16.67%
OKLCH
0.28 0.04 253.28
Names
—
Lists

Codes

FormatValue
HEX#18293d
RGBrgb(24 41 61)
HSLhsl(212.43 43.53% 16.67%)
OKLCHoklch(0.28 0.04 253.28)
CMYKcmyk(60.66% 32.79% 0% 76.08%)
Android#ff18293d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #18293d;
background-color: #18293d;
bg-[#18293d]