Skip to content
Vectorlight.net

#25287c

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

HEX
#25287c
RGB
37, 40, 124
HSL
237.93°, 54.04%, 31.57%
OKLCH
0.33 0.14 274.37
Names
—
Lists

Codes

FormatValue
HEX#25287c
RGBrgb(37 40 124)
HSLhsl(237.93 54.04% 31.57%)
OKLCHoklch(0.33 0.14 274.37)
CMYKcmyk(70.16% 67.74% 0% 51.37%)
Android#ff25287c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #25287c;
background-color: #25287c;
bg-[#25287c]