Skip to content
Vectorlight.net

#28246e

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

HEX
#28246e
RGB
40, 36, 110
HSL
243.24°, 50.68%, 28.63%
OKLCH
0.32 0.12 279.01
Names
—
Lists

Codes

FormatValue
HEX#28246e
RGBrgb(40 36 110)
HSLhsl(243.24 50.68% 28.63%)
OKLCHoklch(0.32 0.12 279.01)
CMYKcmyk(63.64% 67.27% 0% 56.86%)
Android#ff28246e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28246e;
background-color: #28246e;
bg-[#28246e]