Skip to content
Vectorlight.net

#274dba

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

HEX
#274dba
RGB
39, 77, 186
HSL
224.49°, 65.33%, 44.12%
OKLCH
0.46 0.18 265.27
Names
—
Lists

Codes

FormatValue
HEX#274dba
RGBrgb(39 77 186)
HSLhsl(224.49 65.33% 44.12%)
OKLCHoklch(0.46 0.18 265.27)
CMYKcmyk(79.03% 58.6% 0% 27.06%)
Android#ff274dba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #274dba;
background-color: #274dba;
bg-[#274dba]