Maroon Colors  ·  Color Library

Palettes / Colors / #2F71BB

#2F71BB — Blue

#2F71BB 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 #2F71BB 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.

#2F71BB 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.

#2F71BB · RGB 47, 113, 187

Download PNG swatch SVG

Color values

HEX#2F71BB
RGB47, 113, 187
HSL212°, 60%, 46%
HSV212°, 75%, 73%
CMYK75%, 40%, 0%, 27%
XYZ16.05, 16.00, 49.26
Yxy16.00, 0.1974, 0.1968
CIE-Lab46.98, 4.89, -44.95
Hunter Lab40.00, 3.80, -48.99

RGB & CMYK percentages

Red 18% · Green 44% · Blue 73%

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

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

Previews

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

CSS code for #2F71BB

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

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

Shades of #2F71BB

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

Tints of #2F71BB

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

Tones of #2F71BB

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

Color harmonies

Complementary — #BC7A2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.00:1 AA
Against black text4.20:1 AA large only

Best text color on #2F71BB: #FFFFFF.

Semi-transparent (opacity) text on #2F71BB

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 #2F71BB: ·

How #2F71BB looks with color blindness

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

Protanopia · #4C4CA9Deuteranopia · #4843A5Tritanopia · #329B98

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 sky 600 · #0284C7Tailwind blue 600 · #2563EB

Palettes with a similar color

These palettes use a close neighbour of #2F71BB 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
Burning Ruby Harbor
#CCDEF5 · #96BBE8 · #77A8E3 · #2D6AB3
Palette F2efe7
#F2EFE7 · #9ACBD0 · #48A6A7 · #2973B2

Similar colors

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

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

Browse neighbouring colors

← #2F71BA  ·  #2F71BC →

Frequently asked questions

What color is #2F71BB?

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

What is the RGB and HSL of #2F71BB?

#2F71BB is RGB 47, 113, 187 — HSL 212°, 60%, 46% — CMYK 75%, 40%, 0%, 27%.

What colors go with #2F71BB?

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

Can I use #2F71BB for text?

White text on #2F71BB has a contrast ratio of 5.00:1 (passes WCAG AA); black text gives 4.20:1.