Skip to content
Vectorlight.net

#2256af

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

HEX
#2256af
RGB
34, 86, 175
HSL
217.87°, 67.46%, 40.98%
OKLCH
0.47 0.15 260.46
Names
—
Lists

Codes

FormatValue
HEX#2256af
RGBrgb(34 86 175)
HSLhsl(217.87 67.46% 40.98%)
OKLCHoklch(0.47 0.15 260.46)
CMYKcmyk(80.57% 50.86% 0% 31.37%)
Android#ff2256af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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