Skip to content
Vectorlight.net

#308eab

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

HEX
#308eab
RGB
48, 142, 171
HSL
194.15°, 56.16%, 42.94%
OKLCH
0.6 0.1 222.53
Names
—
Lists

Codes

FormatValue
HEX#308eab
RGBrgb(48 142 171)
HSLhsl(194.15 56.16% 42.94%)
OKLCHoklch(0.6 0.1 222.53)
CMYKcmyk(71.93% 16.96% 0% 32.94%)
Android#ff308eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #308eab;
background-color: #308eab;
bg-[#308eab]