Skip to content
Vectorlight.net

#183a98

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

HEX
#183a98
RGB
24, 58, 152
HSL
224.06°, 72.73%, 34.51%
OKLCH
0.39 0.16 264.65
Names
—
Lists

Codes

FormatValue
HEX#183a98
RGBrgb(24 58 152)
HSLhsl(224.06 72.73% 34.51%)
OKLCHoklch(0.39 0.16 264.65)
CMYKcmyk(84.21% 61.84% 0% 40.39%)
Android#ff183a98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #183a98;
background-color: #183a98;
bg-[#183a98]