Skip to content
Vectorlight.net

#256cea

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

HEX
#256cea
RGB
37, 108, 234
HSL
218.38°, 82.43%, 53.14%
OKLCH
0.56 0.2 260.98
Names
—
Lists

Codes

FormatValue
HEX#256cea
RGBrgb(37 108 234)
HSLhsl(218.38 82.43% 53.14%)
OKLCHoklch(0.56 0.2 260.98)
CMYKcmyk(84.19% 53.85% 0% 8.24%)
Android#ff256cea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #256cea;
background-color: #256cea;
bg-[#256cea]