Skip to content
Vectorlight.net

#0827ab

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

HEX
#0827ab
RGB
8, 39, 171
HSL
228.59°, 91.06%, 35.1%
OKLCH
0.37 0.21 264.87
Names
—
Lists

Codes

FormatValue
HEX#0827ab
RGBrgb(8 39 171)
HSLhsl(228.59 91.06% 35.1%)
OKLCHoklch(0.37 0.21 264.87)
CMYKcmyk(95.32% 77.19% 0% 32.94%)
Android#ff0827ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0827ab;
background-color: #0827ab;
bg-[#0827ab]