Skip to content
Vectorlight.net

#2256ba

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

HEX
#2256ba
RGB
34, 86, 186
HSL
219.47°, 69.09%, 43.14%
OKLCH
0.48 0.17 261.76
Names
—
Lists

Codes

FormatValue
HEX#2256ba
RGBrgb(34 86 186)
HSLhsl(219.47 69.09% 43.14%)
OKLCHoklch(0.48 0.17 261.76)
CMYKcmyk(81.72% 53.76% 0% 27.06%)
Android#ff2256ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2256ba;
background-color: #2256ba;
bg-[#2256ba]