Skip to content
Vectorlight.net

#000340

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

HEX
#000340
RGB
0, 3, 64
HSL
237.19°, 100%, 12.55%
OKLCH
0.17 0.11 264.21
Names
—
Lists

Codes

FormatValue
HEX#000340
RGBrgb(0 3 64)
HSLhsl(237.19 100% 12.55%)
OKLCHoklch(0.17 0.11 264.21)
CMYKcmyk(100% 95.31% 0% 74.9%)
Android#ff000340

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #000340;
background-color: #000340;
bg-[#000340]