Skip to content
Vectorlight.net

#280ccf

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

HEX
#280ccf
RGB
40, 12, 207
HSL
248.62°, 89.04%, 42.94%
OKLCH
0.4 0.26 270.72
Names
—
Lists

Codes

FormatValue
HEX#280ccf
RGBrgb(40 12 207)
HSLhsl(248.62 89.04% 42.94%)
OKLCHoklch(0.4 0.26 270.72)
CMYKcmyk(80.68% 94.2% 0% 18.82%)
Android#ff280ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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