Skip to content

#2f7c9b

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

RGB
47, 124, 155
HSL
197°, 54%, 40%
CMYK
70, 20, 0, 39
Luminance
0.1739

At a glance

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

Hex
#2f7c9b
Hue
197°
cyan
Saturation
54%
vivid
Lightness
40%
dark
Brightness
61%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1739
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
4.69:1
Closest name
Steel Blue
ΔE2000 7.9
Where it sits
Hue197° of 360°
Saturation54%
Lightness40%
Temperature
Warm ← → Cool95% 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#2f7c9b
RGBrgb(47, 124, 155)
HSLhsl(197, 54%, 40%)
CMYKcmyk(70%, 20%, 0%, 39%)
LABlab(48.7 -13.2 -23.5)
LCHlch(48.7 27.0 240.8)
OKLCHoklch(0.553 0.088 228.4)
Decimal3112091
Display P3color(display-p3 0.184 0.486 0.608)

Copy-ready code

/* CSS */
color: #2f7c9b;
background-color: #2f7c9b;
/* Tailwind (arbitrary) */
class="text-[#2f7c9b] bg-[#2f7c9b]"
/* SCSS */
$brand: #2f7c9b;
/* SwiftUI */
Color(red: 0.184, green: 0.486, blue: 0.608)
/* Android */
Color.parseColor("#2f7c9b")
/* Flutter */
Color(0xFF2F7C9B)
/* Python / OpenCV (BGR) */
(155, 124, 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#ffffff on #2f7c9b · 4.69:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.69:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.48:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2f7c9b as text scores 4.69:1 on white and 4.48:1 on black.

Accessibility — WCAG contrast

Aa
#2f7c9b on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#2f7c9b on black: 4.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6C7A9D
deuteranopia · #5D6F9B
tritanopia · #008586

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f7c9b 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
#E9F2F6
#CEE5ED
#A9D4E5
#7EBED8
#53A8CB
#3996BC
#2f7c9b
#26647D
#1F4A5B
#132E39
Base = 700Lightest = 50 · #F4F9FBDarkest = 950 · #132E39
:root {
  --brand-50: #F4F9FB;
  --brand-100: #E9F2F6;
  --brand-200: #CEE5ED;
  --brand-300: #A9D4E5;
  --brand-400: #7EBED8;
  --brand-500: #53A8CB;
  --brand-600: #3996BC;
  --brand-700: #2f7c9b;
  --brand-800: #26647D;
  --brand-900: #1F4A5B;
  --brand-950: #132E39;
  --brand: #2f7c9b;
  --brand-ink: #ffffff;
}

Colors that work with #2f7c9b

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#F4F9FA
Tinted page background
Border#C0E0EC
Hairlines and dividers
Muted text#4B849B
Captions on the surface
Accent#9F2F2B
Second voice, not a rival
Dark variant#1E4E62
Hover, pressed, headers
Light variant#EBF5F9
Selected rows, tints
Dark surface#142024
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 #2f7c9b

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
  • 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#9B4E2F
Analogous left#2F9B84
Analogous right#2F469B
Split-complement 1#9B2F46
Split-complement 2#9B842F
Triadic 1#9B2F7C
Triadic 2#7C9B2F
Tetradic#842F9B

RGB percentages

Red18.4%
Green48.6%
Blue60.8%

CMYK percentages

Cyan69.7%
Magenta20.0%
Yellow0.0%
Key (black)39.2%

Color previews

#2f7c9b text on a black background

contrast 4.48:1

Card sample

#2f7c9b text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f7c9b

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.

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

#2f7c9b, answered

What color is #2f7c9b?

#2f7c9b is a dark vivid cyan, closest to Steel Blue (ΔE2000 7.9). It sits at 197° on the hue wheel with 54% saturation and 40% lightness, which reads as cool.

What is the RGB value of #2f7c9b?

rgb(47, 124, 155) — 47 red, 124 green and 155 blue out of 255, or 18.4% / 48.6% / 60.8% by channel.

Is #2f7c9b a light or a dark color?

It is a dark color. Relative luminance is 0.1739 and perceived brightness is 44%, so white text on it reaches 4.69:1.

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

White. It scores 4.69:1 against #2f7c9b, versus 4.48:1 for black — AA at any size.

What is the complementary color of #2f7c9b?

#9B4E2F sits directly opposite on the wheel. Softer options are the split-complements #9B2F46 and #9B842F, which give the same contrast with far less vibration.

What colors go well with #2f7c9b?

For interface work: #F4F9FA as the surface, #C0E0EC for borders, #4B849B for secondary text, #9F2F2B as an accent and #1E4E62 for hover and pressed states. For a palette, the analogous pair #2F9B84 and #2F469B stays calm, while #9B4E2F is the loudest partner.

What is #2f7c9b in CMYK for printing?

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

Is #2f7c9b warm or cool?

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

Work with #2f7c9b in the Color Lab