Skip to content

#2f3d3f

a deep, muted cyan · cool · closest name: Dark Slate Gray

RGB
47, 61, 63
HSL
188°, 15%, 22%
CMYK
25, 3, 0, 75
Luminance
0.0430

At a glance

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

Hex
#2f3d3f
Hue
188°
cyan
Saturation
15%
muted
Lightness
22%
deep
Brightness
25%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0430
WCAG relative
Temperature
Cool
67/100 cool
Color family
Cyan
Tone
Muted
Best ink
White
11.29:1
Closest name
Dark Slate Gray
ΔE2000 8
Where it sits
Hue188° of 360°
Saturation15%
Lightness22%
Temperature
Warm ← → Cool67% 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#2f3d3f
RGBrgb(47, 61, 63)
HSLhsl(188, 15%, 22%)
CMYKcmyk(25%, 3%, 0%, 75%)
LABlab(24.6 -5.1 -3.1)
LCHlch(24.6 6.0 211.2)
OKLCHoklch(0.348 0.019 207.0)
Decimal3095871
Display P3color(display-p3 0.184 0.239 0.247)

Copy-ready code

/* CSS */
color: #2f3d3f;
background-color: #2f3d3f;
/* Tailwind (arbitrary) */
class="text-[#2f3d3f] bg-[#2f3d3f]"
/* SCSS */
$brand: #2f3d3f;
/* SwiftUI */
Color(red: 0.184, green: 0.239, blue: 0.247)
/* Android */
Color.parseColor("#2f3d3f")
/* Flutter */
Color(0xFF2F3D3F)
/* Python / OpenCV (BGR) */
(63, 61, 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 #2f3d3f · 11.29:1
Use #ffffffAAA at every size.
Aa
White text · 11.29:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.86:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2f3d3f as text scores 11.29:1 on white and 1.86:1 on black.

Accessibility — WCAG contrast

Aa
#2f3d3f on white: 11.29:1
AA ✓ pass · AA-large · AAA
Aa
#2f3d3f on black: 1.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B3C3F
deuteranopia · #383A3F
tritanopia · #2A3E3E

Color scale — 50 to 950

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

#F6F8F8
#EEF1F1
#DAE1E2
#BFCDCF
#9FB4B7
#7F9B9F
#69888C
#577175
#465A5D
#2f3d3f
#212A2B
Base = 900Lightest = 50 · #F6F8F8Darkest = 950 · #212A2B
:root {
  --brand-50: #F6F8F8;
  --brand-100: #EEF1F1;
  --brand-200: #DAE1E2;
  --brand-300: #BFCDCF;
  --brand-400: #9FB4B7;
  --brand-500: #7F9B9F;
  --brand-600: #69888C;
  --brand-700: #577175;
  --brand-800: #465A5D;
  --brand-900: #2f3d3f;
  --brand-950: #212A2B;
  --brand: #2f3d3f;
  --brand-ink: #ffffff;
}

Colors that work with #2f3d3f

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#F6F8F8
Tinted page background
Border#D0DBDC
Hairlines and dividers
Muted text#627F83
Captions on the surface
Accent#412D2F
Second voice, not a rival
Dark variant#374749
Hover, pressed, headers
Light variant#F0F4F4
Selected rows, tints
Dark surface#181F20
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 #2f3d3f

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

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#3F312F
Analogous left#2F3F39
Analogous right#2F353F
Split-complement 1#3F2F35
Split-complement 2#3F392F
Triadic 1#3F2F3D
Triadic 2#3D3F2F
Tetradic#392F3F

RGB percentages

Red18.4%
Green23.9%
Blue24.7%

CMYK percentages

Cyan25.4%
Magenta3.2%
Yellow0.0%
Key (black)75.3%

Color previews

#2f3d3f text on a black background

contrast 1.86:1

Card sample

#2f3d3f text on a white background

contrast 11.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f3d3f

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.

#2f3d3f 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
BackgroundsBordersBody textDividers
Print note

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

#2f3d3f, answered

What color is #2f3d3f?

#2f3d3f is a deep muted cyan, closest to Dark Slate Gray (ΔE2000 8). It sits at 188° on the hue wheel with 15% saturation and 22% lightness, which reads as cool.

What is the RGB value of #2f3d3f?

rgb(47, 61, 63) — 47 red, 61 green and 63 blue out of 255, or 18.4% / 23.9% / 24.7% by channel.

Is #2f3d3f a light or a dark color?

It is a dark color. Relative luminance is 0.0430 and perceived brightness is 23%, so white text on it reaches 11.29:1.

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

White. It scores 11.29:1 against #2f3d3f, versus 1.86:1 for black — AAA at any size.

What is the complementary color of #2f3d3f?

#3F312F sits directly opposite on the wheel. Softer options are the split-complements #3F2F35 and #3F392F, which give the same contrast with far less vibration.

What colors go well with #2f3d3f?

For interface work: #F6F8F8 as the surface, #D0DBDC for borders, #627F83 for secondary text, #412D2F as an accent and #374749 for hover and pressed states. For a palette, the analogous pair #2F3F39 and #2F353F stays calm, while #3F312F is the loudest partner.

What is #2f3d3f in CMYK for printing?

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

Is #2f3d3f warm or cool?

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

Work with #2f3d3f in the Color Lab