Skip to content
Vectorlight.net

#0271ce

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

HEX
#0271ce
RGB
2, 113, 206
HSL
207.35°, 98.08%, 40.78%
OKLCH
0.55 0.17 252.71
Names
—
Lists

Codes

FormatValue
HEX#0271ce
RGBrgb(2 113 206)
HSLhsl(207.35 98.08% 40.78%)
OKLCHoklch(0.55 0.17 252.71)
CMYKcmyk(99.03% 45.15% 0% 19.22%)
Android#ff0271ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0271ce;
background-color: #0271ce;
bg-[#0271ce]