Skip to content

#2d4f49

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

RGB
45, 79, 73
HSL
169°, 27%, 24%
CMYK
43, 0, 8, 69
Luminance
0.0663

At a glance

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

Hex
#2d4f49
Hue
169°
cyan
Saturation
27%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0663
WCAG relative
Temperature
Cool
76/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
9.03:1
Closest name
Dark Slate Gray
ΔE2000 3.4
Where it sits
Hue169° of 360°
Saturation27%
Lightness24%
Temperature
Warm ← → Cool76% 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#2d4f49
RGBrgb(45, 79, 73)
HSLhsl(169, 27%, 24%)
CMYKcmyk(43%, 0%, 8%, 69%)
LABlab(30.9 -14.0 -0.3)
LCHlch(30.9 14.0 181.4)
OKLCHoklch(0.400 0.041 181.6)
Decimal2969417
Display P3color(display-p3 0.176 0.310 0.286)

Copy-ready code

/* CSS */
color: #2d4f49;
background-color: #2d4f49;
/* Tailwind (arbitrary) */
class="text-[#2d4f49] bg-[#2d4f49]"
/* SCSS */
$brand: #2d4f49;
/* SwiftUI */
Color(red: 0.176, green: 0.310, blue: 0.286)
/* Android */
Color.parseColor("#2d4f49")
/* Flutter */
Color(0xFF2D4F49)
/* Python / OpenCV (BGR) */
(73, 79, 45)

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 #2d4f49 · 9.03:1
Use #ffffffAAA at every size.
Aa
White text · 9.03:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.33:1
AA fail · AA large fail · AAA fail
Reading the other direction: #2d4f49 as text scores 9.03:1 on white and 2.33:1 on black.

Accessibility — WCAG contrast

Aa
#2d4f49 on white: 9.03:1
AA ✓ pass · AA-large · AAA
Aa
#2d4f49 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C4B49
deuteranopia · #46474A
tritanopia · #21504D

Color scale — 50 to 950

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

#F6F9F8
#ECF3F2
#D6E6E3
#B8D6D1
#94C2BA
#70AEA3
#599C90
#4A8278
#3B6860
#2d4f49
#1D302C
Base = 900Lightest = 50 · #F6F9F8Darkest = 950 · #1D302C
:root {
  --brand-50: #F6F9F8;
  --brand-100: #ECF3F2;
  --brand-200: #D6E6E3;
  --brand-300: #B8D6D1;
  --brand-400: #94C2BA;
  --brand-500: #70AEA3;
  --brand-600: #599C90;
  --brand-700: #4A8278;
  --brand-800: #3B6860;
  --brand-900: #2d4f49;
  --brand-950: #1D302C;
  --brand: #2d4f49;
  --brand-ink: #ffffff;
}

Colors that work with #2d4f49

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#F5F9F9
Tinted page background
Border#CBE1DD
Hairlines and dividers
Muted text#539287
Captions on the surface
Accent#512B3B
Second voice, not a rival
Dark variant#2E514B
Hover, pressed, headers
Light variant#EFF6F5
Selected rows, tints
Dark surface#142421
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 #2d4f49

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#4F2D33
Analogous left#2D4F38
Analogous right#2D444F
Split-complement 1#4F2D44
Split-complement 2#4F382D
Triadic 1#492D4F
Triadic 2#4F492D
Tetradic#382D4F

RGB percentages

Red17.6%
Green31.0%
Blue28.6%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow7.6%
Key (black)69.0%

Color previews

#2d4f49 text on a black background

contrast 2.33:1

Card sample

#2d4f49 text on a white background

contrast 9.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 79, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 79, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d4f49;
background: linear-gradient(135deg, #2d4f49, #2D3E4F);

Monochromatic scale

Palettes built from #2d4f49

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.

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

#2d4f49, answered

What color is #2d4f49?

#2d4f49 is a deep soft cyan, closest to Dark Slate Gray (ΔE2000 3.4). It sits at 169° on the hue wheel with 27% saturation and 24% lightness, which reads as cool.

What is the RGB value of #2d4f49?

rgb(45, 79, 73) — 45 red, 79 green and 73 blue out of 255, or 17.6% / 31% / 28.6% by channel.

Is #2d4f49 a light or a dark color?

It is a dark color. Relative luminance is 0.0663 and perceived brightness is 27%, so white text on it reaches 9.03:1.

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

White. It scores 9.03:1 against #2d4f49, versus 2.33:1 for black — AAA at any size.

What is the complementary color of #2d4f49?

#4F2D33 sits directly opposite on the wheel. Softer options are the split-complements #4F2D44 and #4F382D, which give the same contrast with far less vibration.

What colors go well with #2d4f49?

For interface work: #F5F9F9 as the surface, #CBE1DD for borders, #539287 for secondary text, #512B3B as an accent and #2E514B for hover and pressed states. For a palette, the analogous pair #2D4F38 and #2D444F stays calm, while #4F2D33 is the loudest partner.

What is #2d4f49 in CMYK for printing?

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

Is #2d4f49 warm or cool?

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

Work with #2d4f49 in the Color Lab