Skip to content
Vectorlight.net

#284add

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

HEX
#284add
RGB
40, 74, 221
HSL
228.73°, 72.69%, 51.18%
OKLCH
0.49 0.23 266.77
Names
—
Lists

Codes

FormatValue
HEX#284add
RGBrgb(40 74 221)
HSLhsl(228.73 72.69% 51.18%)
OKLCHoklch(0.49 0.23 266.77)
CMYKcmyk(81.9% 66.52% 0% 13.33%)
Android#ff284add

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #284add;
background-color: #284add;
bg-[#284add]