Skip to content

#2f84ac

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

RGB
47, 132, 172
HSL
199°, 57%, 43%
CMYK
73, 23, 0, 33
Luminance
0.2009

At a glance

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

Hex
#2f84ac
Hue
199°
cyan
Saturation
57%
vivid
Lightness
43%
dark
Brightness
67%
HSV value
Perceived
47%
weighted brightness
Luminance
0.2009
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
5.02:1
Closest name
Steel Blue
ΔE2000 5.3
Where it sits
Hue199° of 360°
Saturation57%
Lightness43%
Temperature
Warm ← → Cool96% 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#2f84ac
RGBrgb(47, 132, 172)
HSLhsl(199, 57%, 43%)
CMYKcmyk(73%, 23%, 0%, 33%)
LABlab(51.9 -11.8 -28.5)
LCHlch(51.9 30.8 247.4)
OKLCHoklch(0.580 0.100 232.9)
Decimal3114156
Display P3color(display-p3 0.184 0.518 0.675)

Copy-ready code

/* CSS */
color: #2f84ac;
background-color: #2f84ac;
/* Tailwind (arbitrary) */
class="text-[#2f84ac] bg-[#2f84ac]"
/* SCSS */
$brand: #2f84ac;
/* SwiftUI */
Color(red: 0.184, green: 0.518, blue: 0.675)
/* Android */
Color.parseColor("#2f84ac")
/* Flutter */
Color(0xFF2F84AC)
/* Python / OpenCV (BGR) */
(172, 132, 47)

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

Accessibility — WCAG contrast

Aa
#2f84ac on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#2f84ac on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7083AE
deuteranopia · #5F76AB
tritanopia · #008F91

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f84ac 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.

#F4F9FB
#E9F2F7
#CDE4EF
#A7D2E7
#7BBCDB
#4FA6CF
#3594C0
#2f84ac
#236280
#1D495D
#122D3A
Base = 700Lightest = 50 · #F4F9FBDarkest = 950 · #122D3A
:root {
  --brand-50: #F4F9FB;
  --brand-100: #E9F2F7;
  --brand-200: #CDE4EF;
  --brand-300: #A7D2E7;
  --brand-400: #7BBCDB;
  --brand-500: #4FA6CF;
  --brand-600: #3594C0;
  --brand-700: #2f84ac;
  --brand-800: #236280;
  --brand-900: #1D495D;
  --brand-950: #122D3A;
  --brand: #2f84ac;
  --brand-ink: #000000;
}

Colors that work with #2f84ac

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

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DEED
Hairlines and dividers
Muted text#4B819B
Captions on the surface
Accent#B0342B
Second voice, not a rival
Dark variant#1B4D64
Hover, pressed, headers
Light variant#EBF5FA
Selected rows, tints
Dark surface#141F24
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 #2f84ac

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#AC572F
Analogous left#2FAC95
Analogous right#2F45AC
Split-complement 1#AC2F45
Split-complement 2#AC952F
Triadic 1#AC2F84
Triadic 2#84AC2F
Tetradic#952FAC

RGB percentages

Red18.4%
Green51.8%
Blue67.5%

CMYK percentages

Cyan72.7%
Magenta23.3%
Yellow0.0%
Key (black)32.5%

Color previews

#2f84ac text on a black background

contrast 5.02:1

Card sample

#2f84ac text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 132, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 132, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f84ac;
background: linear-gradient(135deg, #2f84ac, #2F31AC);

Monochromatic scale

Palettes built from #2f84ac

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.

#2f84ac in the real world

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

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#2f84ac, answered

What color is #2f84ac?

#2f84ac is a dark vivid cyan, closest to Steel Blue (ΔE2000 5.3). It sits at 199° on the hue wheel with 57% saturation and 43% lightness, which reads as cool.

What is the RGB value of #2f84ac?

rgb(47, 132, 172) — 47 red, 132 green and 172 blue out of 255, or 18.4% / 51.8% / 67.5% by channel.

Is #2f84ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.2009 and perceived brightness is 47%, so black text on it reaches 5.02:1.

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

Black. It scores 5.02:1 against #2f84ac, versus 4.19:1 for white — AA at any size.

What is the complementary color of #2f84ac?

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

What colors go well with #2f84ac?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B819B for secondary text, #B0342B as an accent and #1B4D64 for hover and pressed states. For a palette, the analogous pair #2FAC95 and #2F45AC stays calm, while #AC572F is the loudest partner.

What is #2f84ac in CMYK for printing?

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

Is #2f84ac warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2FACA6; nudged cooler, #2D74AE.

Work with #2f84ac in the Color Lab