Skip to content

#2172af

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

RGB
33, 114, 175
HSL
206°, 68%, 41%
CMYK
81, 35, 0, 31
Luminance
0.1545

At a glance

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

Hex
#2172af
Hue
206°
blue
Saturation
68%
vivid
Lightness
41%
dark
Brightness
69%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1545
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.13:1
Closest name
Steel Blue
ΔE2000 6.4
Where it sits
Hue206° of 360°
Saturation68%
Lightness41%
Temperature
Warm ← → Cool98% 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#2172af
RGBrgb(33, 114, 175)
HSLhsl(206, 68%, 41%)
CMYKcmyk(81%, 35%, 0%, 31%)
LABlab(46.3 -1.9 -39.2)
LCHlch(46.3 39.2 267.3)
OKLCHoklch(0.535 0.122 246.2)
Decimal2192047
Display P3color(display-p3 0.129 0.447 0.686)

Copy-ready code

/* CSS */
color: #2172af;
background-color: #2172af;
/* Tailwind (arbitrary) */
class="text-[#2172af] bg-[#2172af]"
/* SCSS */
$brand: #2172af;
/* SwiftUI */
Color(red: 0.129, green: 0.447, blue: 0.686)
/* Android */
Color.parseColor("#2172af")
/* Flutter */
Color(0xFF2172AF)
/* Python / OpenCV (BGR) */
(175, 114, 33)

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 #2172af · 5.13:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.13:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.09:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2172af as text scores 5.13:1 on white and 4.09:1 on black.

Accessibility — WCAG contrast

Aa
#2172af on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#2172af on black: 4.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5575B2
deuteranopia · #4168AE
tritanopia · #008188

Color scale — 50 to 950

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

#F3F8FB
#E8F1F8
#CAE1F2
#A1CCED
#71B3E4
#429ADB
#2786CE
#2172af
#1A5989
#174364
#0E2A3E
Base = 700Lightest = 50 · #F3F8FBDarkest = 950 · #0E2A3E
:root {
  --brand-50: #F3F8FB;
  --brand-100: #E8F1F8;
  --brand-200: #CAE1F2;
  --brand-300: #A1CCED;
  --brand-400: #71B3E4;
  --brand-500: #429ADB;
  --brand-600: #2786CE;
  --brand-700: #2172af;
  --brand-800: #1A5989;
  --brand-900: #174364;
  --brand-950: #0E2A3E;
  --brand: #2172af;
  --brand-ink: #ffffff;
}

Colors that work with #2172af

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#F4F8FA
Tinted page background
Border#C0D9ED
Hairlines and dividers
Muted text#4B789B
Captions on the surface
Accent#B3381D
Second voice, not a rival
Dark variant#14466B
Hover, pressed, headers
Light variant#EAF3FB
Selected rows, tints
Dark surface#141D24
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 #2172af

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#AF5E21
Analogous left#21AFA5
Analogous right#212BAF
Split-complement 1#AF212B
Split-complement 2#AFA521
Triadic 1#AF2172
Triadic 2#72AF21
Tetradic#A521AF

RGB percentages

Red12.9%
Green44.7%
Blue68.6%

CMYK percentages

Cyan81.1%
Magenta34.9%
Yellow0.0%
Key (black)31.4%

Color previews

#2172af text on a black background

contrast 4.09:1

Card sample

#2172af text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2172af;
Background color
Panel with #2172af background
background-color: #2172af;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 114, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 114, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2172af;
background: linear-gradient(135deg, #2172af, #2F21AF);

Monochromatic scale

Palettes built from #2172af

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.

#2172af 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.

#2172af, answered

What color is #2172af?

#2172af is a dark vivid blue, closest to Steel Blue (ΔE2000 6.4). It sits at 206° on the hue wheel with 68% saturation and 41% lightness, which reads as cool.

What is the RGB value of #2172af?

rgb(33, 114, 175) — 33 red, 114 green and 175 blue out of 255, or 12.9% / 44.7% / 68.6% by channel.

Is #2172af a light or a dark color?

It is a dark color. Relative luminance is 0.1545 and perceived brightness is 42%, so white text on it reaches 5.13:1.

Should I use black or white text on #2172af?

White. It scores 5.13:1 against #2172af, versus 4.09:1 for black — AA at any size.

What is the complementary color of #2172af?

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

What colors go well with #2172af?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #B3381D as an accent and #14466B for hover and pressed states. For a palette, the analogous pair #21AFA5 and #212BAF stays calm, while #AF5E21 is the loudest partner.

What is #2172af in CMYK for printing?

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

Is #2172af warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #213EAF; nudged cooler, #1B5D9B.

Work with #2172af in the Color Lab