Skip to content
Vectorlight.net

#51cafe

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

HEX
#51cafe
RGB
81, 202, 254
HSL
198.03°, 98.86%, 65.69%
OKLCH
0.79 0.13 230.09
Names
—
Lists

Codes

FormatValue
HEX#51cafe
RGBrgb(81 202 254)
HSLhsl(198.03 98.86% 65.69%)
OKLCHoklch(0.79 0.13 230.09)
CMYKcmyk(68.11% 20.47% 0% 0.39%)
Android#ff51cafe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.22:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#51cafe"
Gradient stop
<stop stop-color="#51cafe"/>
CSS variable + fill
:root { --c: #51cafe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #51cafe;
background-color: #51cafe;
bg-[#51cafe]