Skip to content
Vectorlight.net

#283def

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

HEX
#283def
RGB
40, 61, 239
HSL
233.67°, 86.15%, 54.71%
OKLCH
0.49 0.26 267.78
Names
—
Lists

Codes

FormatValue
HEX#283def
RGBrgb(40 61 239)
HSLhsl(233.67 86.15% 54.71%)
OKLCHoklch(0.49 0.26 267.78)
CMYKcmyk(83.26% 74.48% 0% 6.27%)
Android#ff283def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #283def;
background-color: #283def;
bg-[#283def]