Skip to content
Vectorlight.net

#254cec

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

HEX
#254cec
RGB
37, 76, 236
HSL
228.24°, 83.97%, 53.53%
OKLCH
0.51 0.24 266.12
Names
—
Lists

Codes

FormatValue
HEX#254cec
RGBrgb(37 76 236)
HSLhsl(228.24 83.97% 53.53%)
OKLCHoklch(0.51 0.24 266.12)
CMYKcmyk(84.32% 67.8% 0% 7.45%)
Android#ff254cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #254cec;
background-color: #254cec;
bg-[#254cec]