Skip to content
Vectorlight.net

#0152ca

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

HEX
#0152ca
RGB
1, 82, 202
HSL
215.82°, 99.01%, 39.8%
OKLCH
0.48 0.2 260.39
Names
—
Lists

Codes

FormatValue
HEX#0152ca
RGBrgb(1 82 202)
HSLhsl(215.82 99.01% 39.8%)
OKLCHoklch(0.48 0.2 260.39)
CMYKcmyk(99.5% 59.41% 0% 20.78%)
Android#ff0152ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0152ca;
background-color: #0152ca;
bg-[#0152ca]