Skip to content
Vectorlight.net

#252181

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

HEX
#252181
RGB
37, 33, 129
HSL
242.5°, 59.26%, 31.76%
OKLCH
0.33 0.15 275.53
Names
—
Lists

Codes

FormatValue
HEX#252181
RGBrgb(37 33 129)
HSLhsl(242.5 59.26% 31.76%)
OKLCHoklch(0.33 0.15 275.53)
CMYKcmyk(71.32% 74.42% 0% 49.41%)
Android#ff252181

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #252181;
background-color: #252181;
bg-[#252181]