Skip to content
Vectorlight.net

#062a4a

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

HEX
#062a4a
RGB
6, 42, 74
HSL
208.24°, 85%, 15.69%
OKLCH
0.28 0.07 249.97
Names
—
Lists

Codes

FormatValue
HEX#062a4a
RGBrgb(6 42 74)
HSLhsl(208.24 85% 15.69%)
OKLCHoklch(0.28 0.07 249.97)
CMYKcmyk(91.89% 43.24% 0% 70.98%)
Android#ff062a4a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #062a4a;
background-color: #062a4a;
bg-[#062a4a]