Skip to content

#2c71bc

a balanced, vivid blue · cool · closest name: Steel Blue

RGB
44, 113, 188
HSL
211°, 62%, 46%
CMYK
77, 40, 0, 26
Luminance
0.1598

At a glance

Every number on this page in one read: what #2c71bc is made of, how bright it looks, and which way it leans.

Hex
#2c71bc
Hue
211°
blue
Saturation
62%
vivid
Lightness
46%
balanced
Brightness
74%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1598
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.01:1
Closest name
Steel Blue
ΔE2000 6.6
Where it sits
Hue211° of 360°
Saturation62%
Lightness46%
Temperature
Warm ← → Cool99% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2c71bc
RGBrgb(44, 113, 188)
HSLhsl(211, 62%, 46%)
CMYKcmyk(77%, 40%, 0%, 26%)
LABlab(46.9 4.9 -45.6)
LCHlch(46.9 45.8 276.1)
OKLCHoklch(0.543 0.136 253.2)
Decimal2912700
Display P3color(display-p3 0.173 0.443 0.737)

Copy-ready code

/* CSS */
color: #2c71bc;
background-color: #2c71bc;
/* Tailwind (arbitrary) */
class="text-[#2c71bc] bg-[#2c71bc]"
/* SCSS */
$brand: #2c71bc;
/* SwiftUI */
Color(red: 0.173, green: 0.443, blue: 0.737)
/* Android */
Color.parseColor("#2c71bc")
/* Flutter */
Color(0xFF2C71BC)
/* Python / OpenCV (BGR) */
(188, 113, 44)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #2c71bc · 5.01:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.01:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.20:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2c71bc as text scores 5.01:1 on white and 4.20:1 on black.

Accessibility — WCAG contrast

Aa
#2c71bc on white: 5.01:1
AA ✓ pass · AA-large · AAA
Aa
#2c71bc on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D76BF
deuteranopia · #3669BB
tritanopia · #00838D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c71bc is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F7FB
#E8EFF7
#CCDDF0
#A4C5EA
#77A9DF
#498CD4
#2c71bc
#2763A5
#1F4F84
#1A3C60
#10253C
Base = 600Lightest = 50 · #F4F7FBDarkest = 950 · #10253C
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8EFF7;
  --brand-200: #CCDDF0;
  --brand-300: #A4C5EA;
  --brand-400: #77A9DF;
  --brand-500: #498CD4;
  --brand-600: #2c71bc;
  --brand-700: #2763A5;
  --brand-800: #1F4F84;
  --brand-900: #1A3C60;
  --brand-950: #10253C;
  --brand: #2c71bc;
  --brand-ink: #ffffff;
}

Colors that work with #2c71bc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F7FA
Tinted page background
Border#C0D5ED
Hairlines and dividers
Muted text#4B719B
Captions on the surface
Accent#C15127
Second voice, not a rival
Dark variant#183E67
Hover, pressed, headers
Light variant#EAF2FA
Selected rows, tints
Dark surface#141C24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #2c71bc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#BC772C
Analogous left#2CB9BC
Analogous right#2F2CBC
Split-complement 1#BC2F2C
Split-complement 2#B9BC2C
Triadic 1#BC2C71
Triadic 2#71BC2C
Tetradic#BC2CB9

RGB percentages

Red17.3%
Green44.3%
Blue73.7%

CMYK percentages

Cyan76.6%
Magenta39.9%
Yellow0.0%
Key (black)26.3%

Color previews

#2c71bc text on a black background

contrast 4.20:1

Card sample

#2c71bc text on a white background

contrast 5.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c71bc;
Background color
Panel with #2c71bc background
background-color: #2c71bc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2c71bc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(44, 113, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 113, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c71bc;
background: linear-gradient(135deg, #2c71bc, #472CBC);

Monochromatic scale

Palettes built from #2c71bc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#2c71bc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#2c71bc, answered

What color is #2c71bc?

#2c71bc is a balanced vivid blue, closest to Steel Blue (ΔE2000 6.6). It sits at 211° on the hue wheel with 62% saturation and 46% lightness, which reads as cool.

What is the RGB value of #2c71bc?

rgb(44, 113, 188) — 44 red, 113 green and 188 blue out of 255, or 17.3% / 44.3% / 73.7% by channel.

Is #2c71bc a light or a dark color?

It is a dark color. Relative luminance is 0.1598 and perceived brightness is 43%, so white text on it reaches 5.01:1.

Should I use black or white text on #2c71bc?

White. It scores 5.01:1 against #2c71bc, versus 4.20:1 for black — AA at any size.

What is the complementary color of #2c71bc?

#BC772C sits directly opposite on the wheel. Softer options are the split-complements #BC2F2C and #B9BC2C, which give the same contrast with far less vibration.

What colors go well with #2c71bc?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B719B for secondary text, #C15127 as an accent and #183E67 for hover and pressed states. For a palette, the analogous pair #2CB9BC and #2F2CBC stays calm, while #BC772C is the loudest partner.

What is #2c71bc in CMYK for printing?

cmyk(77%, 40%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2c71bc warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2C3CBC; nudged cooler, #2564A9.

Work with #2c71bc in the Color Lab