Skip to content

#2f657f

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

RGB
47, 101, 127
HSL
200°, 46%, 34%
CMYK
63, 21, 0, 50
Luminance
0.1144

At a glance

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

Hex
#2f657f
Hue
200°
cyan
Saturation
46%
vivid
Lightness
34%
dark
Brightness
50%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1144
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
6.39:1
Closest name
Steel Blue
ΔE2000 13.2
Where it sits
Hue200° of 360°
Saturation46%
Lightness34%
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#2f657f
RGBrgb(47, 101, 127)
HSLhsl(200, 46%, 34%)
CMYKcmyk(63%, 21%, 0%, 50%)
LABlab(40.3 -9.4 -19.9)
LCHlch(40.3 22.0 244.6)
OKLCHoklch(0.481 0.071 231.7)
Decimal3106175
Display P3color(display-p3 0.184 0.396 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f657f on white: 6.39:1
AA ✓ pass · AA-large · AAA
Aa
#2f657f on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #586480
deuteranopia · #4D5B7F
tritanopia · #006C6E

Color scale — 50 to 950

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

#F5F8FA
#EAF2F5
#D0E3EB
#ADD0E1
#84B8D2
#5BA1C2
#428EB3
#377695
#2f657f
#234657
#162C36
Base = 800Lightest = 50 · #F5F8FADarkest = 950 · #162C36
:root {
  --brand-50: #F5F8FA;
  --brand-100: #EAF2F5;
  --brand-200: #D0E3EB;
  --brand-300: #ADD0E1;
  --brand-400: #84B8D2;
  --brand-500: #5BA1C2;
  --brand-600: #428EB3;
  --brand-700: #377695;
  --brand-800: #2f657f;
  --brand-900: #234657;
  --brand-950: #162C36;
  --brand: #2f657f;
  --brand-ink: #ffffff;
}

Colors that work with #2f657f

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#C3DDE9
Hairlines and dividers
Muted text#4B819B
Captions on the surface
Accent#82322B
Second voice, not a rival
Dark variant#224A5D
Hover, pressed, headers
Light variant#ECF4F8
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 #2f657f

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#7F492F
Analogous left#2F7F71
Analogous right#2F3D7F
Split-complement 1#7F2F3D
Split-complement 2#7F712F
Triadic 1#7F2F65
Triadic 2#657F2F
Tetradic#712F7F

RGB percentages

Red18.4%
Green39.6%
Blue49.8%

CMYK percentages

Cyan63.0%
Magenta20.5%
Yellow0.0%
Key (black)50.2%

Color previews

#2f657f text on a black background

contrast 3.29:1

Card sample

#2f657f text on a white background

contrast 6.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f657f

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.

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

#2f657f, answered

What color is #2f657f?

#2f657f is a dark vivid cyan, closest to Steel Blue (ΔE2000 13.2). It sits at 200° on the hue wheel with 46% saturation and 34% lightness, which reads as cool.

What is the RGB value of #2f657f?

rgb(47, 101, 127) — 47 red, 101 green and 127 blue out of 255, or 18.4% / 39.6% / 49.8% by channel.

Is #2f657f a light or a dark color?

It is a dark color. Relative luminance is 0.1144 and perceived brightness is 36%, so white text on it reaches 6.39:1.

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

White. It scores 6.39:1 against #2f657f, versus 3.29:1 for black — AA at any size.

What is the complementary color of #2f657f?

#7F492F sits directly opposite on the wheel. Softer options are the split-complements #7F2F3D and #7F712F, which give the same contrast with far less vibration.

What colors go well with #2f657f?

For interface work: #F4F8FA as the surface, #C3DDE9 for borders, #4B819B for secondary text, #82322B as an accent and #224A5D for hover and pressed states. For a palette, the analogous pair #2F7F71 and #2F3D7F stays calm, while #7F492F is the loudest partner.

What is #2f657f in CMYK for printing?

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

Is #2f657f 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 #2F7F7C; nudged cooler, #2D5A81.

Work with #2f657f in the Color Lab