Skip to content
Vectorlight.net

#284fbe

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

HEX
#284fbe
RGB
40, 79, 190
HSL
224.4°, 65.22%, 45.1%
OKLCH
0.47 0.18 265.21
Names
—
Lists

Codes

FormatValue
HEX#284fbe
RGBrgb(40 79 190)
HSLhsl(224.4 65.22% 45.1%)
OKLCHoklch(0.47 0.18 265.21)
CMYKcmyk(78.95% 58.42% 0% 25.49%)
Android#ff284fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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