Skip to content
Vectorlight.net

#4202db

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

HEX
#4202db
RGB
66, 2, 219
HSL
257.7°, 98.19%, 43.33%
OKLCH
0.43 0.26 277.88
Names
—
Lists

Codes

FormatValue
HEX#4202db
RGBrgb(66 2 219)
HSLhsl(257.7 98.19% 43.33%)
OKLCHoklch(0.43 0.26 277.88)
CMYKcmyk(69.86% 99.09% 0% 14.12%)
Android#ff4202db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4202db;
background-color: #4202db;
bg-[#4202db]