Skip to content
Vectorlight.net

#272b7d

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

HEX
#272b7d
RGB
39, 43, 125
HSL
237.21°, 52.44%, 32.16%
OKLCH
0.34 0.14 274.45
Names
—
Lists

Codes

FormatValue
HEX#272b7d
RGBrgb(39 43 125)
HSLhsl(237.21 52.44% 32.16%)
OKLCHoklch(0.34 0.14 274.45)
CMYKcmyk(68.8% 65.6% 0% 50.98%)
Android#ff272b7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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