Skip to content
Vectorlight.net

#0255ce

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

HEX
#0255ce
RGB
2, 85, 206
HSL
215.59°, 98.08%, 40.78%
OKLCH
0.49 0.2 260.23
Names
—
Lists

Codes

FormatValue
HEX#0255ce
RGBrgb(2 85 206)
HSLhsl(215.59 98.08% 40.78%)
OKLCHoklch(0.49 0.2 260.23)
CMYKcmyk(99.03% 58.74% 0% 19.22%)
Android#ff0255ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0255ce;
background-color: #0255ce;
bg-[#0255ce]