Skip to content
Vectorlight.net

#028acc

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

HEX
#028acc
RGB
2, 138, 204
HSL
199.6°, 98.06%, 40.39%
OKLCH
0.6 0.14 240.52
Names
—
Lists

Codes

FormatValue
HEX#028acc
RGBrgb(2 138 204)
HSLhsl(199.6 98.06% 40.39%)
OKLCHoklch(0.6 0.14 240.52)
CMYKcmyk(99.02% 32.35% 0% 20%)
Android#ff028acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.50:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#028acc"
Gradient stop
<stop stop-color="#028acc"/>
CSS variable + fill
:root { --c: #028acc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #028acc;
background-color: #028acc;
bg-[#028acc]