Skip to content
Vectorlight.net

#181bad

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

HEX
#181bad
RGB
24, 27, 173
HSL
238.79°, 75.63%, 38.63%
OKLCH
0.36 0.22 268.15
Names
—
Lists

Codes

FormatValue
HEX#181bad
RGBrgb(24 27 173)
HSLhsl(238.79 75.63% 38.63%)
OKLCHoklch(0.36 0.22 268.15)
CMYKcmyk(86.13% 84.39% 0% 32.16%)
Android#ff181bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
11.67: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="#181bad"
Gradient stop
<stop stop-color="#181bad"/>
CSS variable + fill
:root { --c: #181bad; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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