Skip to content
Vectorlight.net

#062c4e

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

HEX
#062c4e
RGB
6, 44, 78
HSL
208.33°, 85.71%, 16.47%
OKLCH
0.29 0.07 250.32
Names
—
Lists

Codes

FormatValue
HEX#062c4e
RGBrgb(6 44 78)
HSLhsl(208.33 85.71% 16.47%)
OKLCHoklch(0.29 0.07 250.32)
CMYKcmyk(92.31% 43.59% 0% 69.41%)
Android#ff062c4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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