Skip to content
Vectorlight.net

#272cba

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

HEX
#272cba
RGB
39, 44, 186
HSL
237.96°, 65.33%, 44.12%
OKLCH
0.41 0.21 270.46
Names
—
Lists

Codes

FormatValue
HEX#272cba
RGBrgb(39 44 186)
HSLhsl(237.96 65.33% 44.12%)
OKLCHoklch(0.41 0.21 270.46)
CMYKcmyk(79.03% 76.34% 0% 27.06%)
Android#ff272cba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #272cba;
background-color: #272cba;
bg-[#272cba]