Skip to content
Vectorlight.net

#0838dd

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

HEX
#0838dd
RGB
8, 56, 221
HSL
226.48°, 93.01%, 44.9%
OKLCH
0.45 0.25 264.31
Names
—
Lists

Codes

FormatValue
HEX#0838dd
RGBrgb(8 56 221)
HSLhsl(226.48 93.01% 44.9%)
OKLCHoklch(0.45 0.25 264.31)
CMYKcmyk(96.38% 74.66% 0% 13.33%)
Android#ff0838dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0838dd;
background-color: #0838dd;
bg-[#0838dd]