Skip to content
Vectorlight.net

#28678d

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

HEX
#28678d
RGB
40, 103, 141
HSL
202.57°, 55.8%, 35.49%
OKLCH
0.49 0.09 238.83
Names
—
Lists

Codes

FormatValue
HEX#28678d
RGBrgb(40 103 141)
HSLhsl(202.57 55.8% 35.49%)
OKLCHoklch(0.49 0.09 238.83)
CMYKcmyk(71.63% 26.95% 0% 44.71%)
Android#ff28678d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28678d;
background-color: #28678d;
bg-[#28678d]