Skip to content

#2f413f

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

RGB
47, 65, 63
HSL
173°, 16%, 22%
CMYK
28, 0, 3, 75
Luminance
0.0474

At a glance

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

Hex
#2f413f
Hue
173°
cyan
Saturation
16%
soft
Lightness
22%
deep
Brightness
25%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0474
WCAG relative
Temperature
Cool
66/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
10.78:1
Closest name
Dark Slate Gray
ΔE2000 5.7
Where it sits
Hue173° of 360°
Saturation16%
Lightness22%
Temperature
Warm ← → Cool66% 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#2f413f
RGBrgb(47, 65, 63)
HSLhsl(173, 16%, 22%)
CMYKcmyk(28%, 0%, 3%, 75%)
LABlab(26.0 -7.7 -1.1)
LCHlch(26.0 7.8 188.3)
OKLCHoklch(0.359 0.023 187.7)
Decimal3096895
Display P3color(display-p3 0.184 0.255 0.247)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f413f on white: 10.78:1
AA ✓ pass · AA-large · AAA
Aa
#2f413f on black: 1.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F3F3F
deuteranopia · #3C3C3F
tritanopia · #2A4240

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f413f 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
#EEF2F1
#D9E3E1
#BED0CE
#9DB8B5
#7DA19D
#678E8A
#567673
#445F5C
#2f413f
#212C2B
Base = 900Lightest = 50 · #F6F8F8Darkest = 950 · #212C2B
:root {
  --brand-50: #F6F8F8;
  --brand-100: #EEF2F1;
  --brand-200: #D9E3E1;
  --brand-300: #BED0CE;
  --brand-400: #9DB8B5;
  --brand-500: #7DA19D;
  --brand-600: #678E8A;
  --brand-700: #567673;
  --brand-800: #445F5C;
  --brand-900: #2f413f;
  --brand-950: #212C2B;
  --brand: #2f413f;
  --brand-ink: #ffffff;
}

Colors that work with #2f413f

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#F6F9F8
Tinted page background
Border#D0DDDB
Hairlines and dividers
Muted text#608581
Captions on the surface
Accent#432D35
Second voice, not a rival
Dark variant#354A48
Hover, pressed, headers
Light variant#F0F4F4
Selected rows, tints
Dark surface#182120
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 #2f413f

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary 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#412F31
Analogous left#2F4136
Analogous right#2F3A41
Split-complement 1#412F3A
Split-complement 2#41362F
Triadic 1#3F2F41
Triadic 2#413F2F
Tetradic#362F41

RGB percentages

Red18.4%
Green25.5%
Blue24.7%

CMYK percentages

Cyan27.7%
Magenta0.0%
Yellow3.1%
Key (black)74.5%

Color previews

#2f413f text on a black background

contrast 1.95:1

Card sample

#2f413f text on a white background

contrast 10.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f413f

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.

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

#2f413f, answered

What color is #2f413f?

#2f413f is a deep soft cyan, closest to Dark Slate Gray (ΔE2000 5.7). It sits at 173° on the hue wheel with 16% saturation and 22% lightness, which reads as cool.

What is the RGB value of #2f413f?

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

Is #2f413f a light or a dark color?

It is a dark color. Relative luminance is 0.0474 and perceived brightness is 24%, so white text on it reaches 10.78:1.

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

White. It scores 10.78:1 against #2f413f, versus 1.95:1 for black — AAA at any size.

What is the complementary color of #2f413f?

#412F31 sits directly opposite on the wheel. Softer options are the split-complements #412F3A and #41362F, which give the same contrast with far less vibration.

What colors go well with #2f413f?

For interface work: #F6F9F8 as the surface, #D0DDDB for borders, #608581 for secondary text, #432D35 as an accent and #354A48 for hover and pressed states. For a palette, the analogous pair #2F4136 and #2F3A41 stays calm, while #412F31 is the loudest partner.

What is #2f413f in CMYK for printing?

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

Is #2f413f warm or cool?

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

Work with #2f413f in the Color Lab