Skip to content
Vectorlight.net

#284ddf

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

HEX
#284ddf
RGB
40, 77, 223
HSL
227.87°, 74.09%, 51.57%
OKLCH
0.5 0.22 266.4
Names
—
Lists

Codes

FormatValue
HEX#284ddf
RGBrgb(40 77 223)
HSLhsl(227.87 74.09% 51.57%)
OKLCHoklch(0.5 0.22 266.4)
CMYKcmyk(82.06% 65.47% 0% 12.55%)
Android#ff284ddf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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