Skip to content
Vectorlight.net

#023c8a

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

HEX
#023c8a
RGB
2, 60, 138
HSL
214.41°, 97.14%, 27.45%
OKLCH
0.38 0.14 258.72
Names
—
Lists

Codes

FormatValue
HEX#023c8a
RGBrgb(2 60 138)
HSLhsl(214.41 97.14% 27.45%)
OKLCHoklch(0.38 0.14 258.72)
CMYKcmyk(98.55% 56.52% 0% 45.88%)
Android#ff023c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #023c8a;
background-color: #023c8a;
bg-[#023c8a]