Skip to content
Vectorlight.net

#04237a

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

HEX
#04237a
RGB
4, 35, 122
HSL
224.24°, 93.65%, 24.71%
OKLCH
0.31 0.15 263.75
Names
—
Lists

Codes

FormatValue
HEX#04237a
RGBrgb(4 35 122)
HSLhsl(224.24 93.65% 24.71%)
OKLCHoklch(0.31 0.15 263.75)
CMYKcmyk(96.72% 71.31% 0% 52.16%)
Android#ff04237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04237a;
background-color: #04237a;
bg-[#04237a]