Skip to content
Vectorlight.net

#0c8cfd

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

HEX
#0c8cfd
RGB
12, 140, 253
HSL
208.13°, 98.37%, 51.96%
OKLCH
0.64 0.19 253.05
Names
—
Lists

Codes

FormatValue
HEX#0c8cfd
RGBrgb(12 140 253)
HSLhsl(208.13 98.37% 51.96%)
OKLCHoklch(0.64 0.19 253.05)
CMYKcmyk(95.26% 44.66% 0% 0.78%)
Android#ff0c8cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0c8cfd;
background-color: #0c8cfd;
bg-[#0c8cfd]