Skip to content

#2d4f4f

a deep, soft cyan · cool · “Dark Slate Gray”

RGB
45, 79, 79
HSL
180°, 27%, 24%
CMYK
43, 0, 0, 69
Luminance
0.0671

At a glance

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

Hex
#2d4f4f
Hue
180°
cyan
Saturation
27%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0671
WCAG relative
Temperature
Cool
79/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
8.96:1
Closest name
Dark Slate Gray
ΔE2000 0.5
Where it sits
Hue180° of 360°
Saturation27%
Lightness24%
Temperature
Warm ← → Cool79% 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#2d4f4f
RGBrgb(45, 79, 79)
HSLhsl(180, 27%, 24%)
CMYKcmyk(43%, 0%, 0%, 69%)
LABlab(31.1 -12.3 -3.9)
LCHlch(31.1 12.9 197.6)
OKLCHoklch(0.402 0.040 195.7)
Decimal2969423
Display P3color(display-p3 0.176 0.310 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d4f4f on white: 8.96:1
AA ✓ pass · AA-large · AAA
Aa
#2d4f4f on black: 2.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4B4C4F
deuteranopia · #45474F
tritanopia · #1E514F

Color scale — 50 to 950

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

#F6F9F9
#ECF3F3
#D6E6E6
#B8D6D6
#94C2C2
#70AEAE
#599C9C
#4A8282
#3B6868
#2d4f4f
#1D3030
Base = 900Lightest = 50 · #F6F9F9Darkest = 950 · #1D3030
:root {
  --brand-50: #F6F9F9;
  --brand-100: #ECF3F3;
  --brand-200: #D6E6E6;
  --brand-300: #B8D6D6;
  --brand-400: #94C2C2;
  --brand-500: #70AEAE;
  --brand-600: #599C9C;
  --brand-700: #4A8282;
  --brand-800: #3B6868;
  --brand-900: #2d4f4f;
  --brand-950: #1D3030;
  --brand: #2d4f4f;
  --brand-ink: #ffffff;
}

Colors that work with #2d4f4f

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#CBE1E1
Hairlines and dividers
Muted text#539292
Captions on the surface
Accent#512B34
Second voice, not a rival
Dark variant#2E5151
Hover, pressed, headers
Light variant#EFF6F6
Selected rows, tints
Dark surface#142424
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 #2d4f4f

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#4F2D2D
Analogous left#2D4F3E
Analogous right#2D3E4F
Split-complement 1#4F2D3E
Split-complement 2#4F3E2D
Triadic 1#4F2D4F
Triadic 2#4F4F2D
Tetradic#3E2D4F

RGB percentages

Red17.6%
Green31.0%
Blue31.0%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow0.0%
Key (black)69.0%

Color previews

#2d4f4f text on a black background

contrast 2.34:1

Card sample

#2d4f4f text on a white background

contrast 8.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d4f4f

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.

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

#2d4f4f, answered

What color is #2d4f4f?

#2d4f4f is a deep soft cyan — the CSS keyword Dark Slate Gray. It sits at 180° on the hue wheel with 27% saturation and 24% lightness, which reads as cool.

What is the RGB value of #2d4f4f?

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

Is #2d4f4f a light or a dark color?

It is a dark color. Relative luminance is 0.0671 and perceived brightness is 28%, so white text on it reaches 8.96:1.

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

White. It scores 8.96:1 against #2d4f4f, versus 2.34:1 for black — AAA at any size.

What is the complementary color of #2d4f4f?

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

What colors go well with #2d4f4f?

For interface work: #F5F9F9 as the surface, #CBE1E1 for borders, #539292 for secondary text, #512B34 as an accent and #2E5151 for hover and pressed states. For a palette, the analogous pair #2D4F3E and #2D3E4F stays calm, while #4F2D2D is the loudest partner.

What is #2d4f4f in CMYK for printing?

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

Is #2d4f4f warm or cool?

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

Work with #2d4f4f in the Color Lab