Skip to content
Vectorlight.net

#240ebb

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

HEX
#240ebb
RGB
36, 14, 187
HSL
247.63°, 86.07%, 39.41%
OKLCH
0.38 0.24 270.92
Names
—
Lists

Codes

FormatValue
HEX#240ebb
RGBrgb(36 14 187)
HSLhsl(247.63 86.07% 39.41%)
OKLCHoklch(0.38 0.24 270.92)
CMYKcmyk(80.75% 92.51% 0% 26.67%)
Android#ff240ebb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #240ebb;
background-color: #240ebb;
bg-[#240ebb]