Maroon Colors  ·  Color Library

Palettes / Colors / #2F71BC

#2F71BC — Blue

#2F71BC is a blue color we call Blue, closest to the named color SteelBlue (#4682B4). It belongs to the blue family.

Color name

Closest CSS keyword: steelblue (#4682B4) — not an exact match. CSS steelblue gives you #4682B4, a different color; use #2F71BC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#2F71BC is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #BC7A2F; it also sits naturally between #2FB7BC and #342FBC. In the palettes below you can see it working alongside real color combinations from our collection.

#2F71BC · RGB 47, 113, 188

Download PNG swatch SVG

Color values

HEX#2F71BC
RGB47, 113, 188
HSL212°, 60%, 46%
HSV212°, 75%, 74%
CMYK75%, 40%, 0%, 26%
XYZ16.15, 16.05, 49.82
Yxy16.05, 0.1970, 0.1956
CIE-Lab47.03, 5.26, -45.44
Hunter Lab40.06, 4.09, -49.73

RGB & CMYK percentages

Red 18% · Green 44% · Blue 74%

Cyan 75% · Magenta 40% · Yellow 0% · Key 26%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #2F71BC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #2F71BC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #2F71BC

.text { color: #2F71BC; }
.background { background-color: #2F71BC; }
.border { border: 3px solid #2F71BC; }
.text-rgb { color: rgb(47, 113, 188); }
.text-hsl { color: hsl(212, 60%, 46%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2F71BC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(47, 113, 188, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2F71BC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(47, 113, 188, 0.8); }

HTML: <p style="color:#2F71BC">Text here</p> · <div style="background-color:#2F71BC">Div content here</div>

Shades of #2F71BC

#2B67AB#275D9B#225187#1E4776#1A3D66#153356#112A45#0C1D31#081421#040A10

Tints of #2F71BC

#377DCD#4B8AD2#6098D7#74A5DC#89B2E1#9DBFE7#B1CDEC#C6DAF1#DAE7F6#EFF4FB

Tones of #2F71BC

#3971B1#4372A8#4D739D#577394#617489#6B7580

Color harmonies

Complementary — #BC7A2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.99:1 AA
Against black text4.21:1 AA large only

Best text color on #2F71BC: #FFFFFF.

Semi-transparent (opacity) text on #2F71BC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #2F71BC: ·

How #2F71BC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #4C4CAADeuteranopia · #4843A6Tritanopia · #329C98

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EBTailwind sky 600 · #0284C7

Palettes with a similar color

These palettes use a close neighbour of #2F71BC rather than the exact color:

Cosmic Ruby Horizon
#20721C · #15623A · #3BBABB · #296CB8
Palette 0a2647
#0A2647 · #144272 · #205295 · #2C74B3
Palette 3674b5
#3674B5 · #578FCA · #F5F0CD · #FADA7A
Palette 3674b5
#3674B5 · #578FCA · #A1E3F9 · #D1F8EF
Palette 192655
#192655 · #3876BF · #E1AA74 · #F3F0CA
Lucky Ruby Dusk
#288396 · #2B6CC5 · #2A2CD0 · #54279B

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#296CB8#2C74B3#3674B5#3876BF#2B6CC5#3468C0#2D6AB3#2973B2#366FB2#3566B6#3B6AC0#2467BA

Browse neighbouring colors

← #2F71BB  ·  #2F71BD →

Frequently asked questions

What color is #2F71BC?

#2F71BC is Blue, a blue color (RGB 47, 113, 188). Its closest standard named color is SteelBlue.

What is the RGB and HSL of #2F71BC?

#2F71BC is RGB 47, 113, 188 — HSL 212°, 60%, 46% — CMYK 75%, 40%, 0%, 26%.

What colors go with #2F71BC?

Its complement is #BC7A2F; analogous partners are #2FB7BC and #342FBC. It also appears in 6+ palettes in our collection.

Can I use #2F71BC for text?

White text on #2F71BC has a contrast ratio of 4.99:1 (passes WCAG AA); black text gives 4.21:1.