Skip to content
Vectorlight.net

#280eaa

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

HEX
#280eaa
RGB
40, 14, 170
HSL
250°, 84.78%, 36.08%
OKLCH
0.36 0.22 273.76
Names
—
Lists

Codes

FormatValue
HEX#280eaa
RGBrgb(40 14 170)
HSLhsl(250 84.78% 36.08%)
OKLCHoklch(0.36 0.22 273.76)
CMYKcmyk(76.47% 91.76% 0% 33.33%)
Android#ff280eaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #280eaa;
background-color: #280eaa;
bg-[#280eaa]