Skip to content
Vectorlight.net

#387acc

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

HEX
#387acc
RGB
56, 122, 204
HSL
213.24°, 59.2%, 50.98%
OKLCH
0.58 0.14 255.35
Names
—
Lists

Codes

FormatValue
HEX#387acc
RGBrgb(56 122 204)
HSLhsl(213.24 59.2% 50.98%)
OKLCHoklch(0.58 0.14 255.35)
CMYKcmyk(72.55% 40.2% 0% 20%)
Android#ff387acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#387acc"
Gradient stop
<stop stop-color="#387acc"/>
CSS variable + fill
:root { --c: #387acc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #387acc;
background-color: #387acc;
bg-[#387acc]