Skip to content

#2c2f3b

a deep, muted blue · cool · closest name: Black

RGB
44, 47, 59
HSL
228°, 15%, 20%
CMYK
25, 20, 0, 77
Luminance
0.0288

At a glance

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

Hex
#2c2f3b
Hue
228°
blue
Saturation
15%
muted
Lightness
20%
deep
Brightness
23%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0288
WCAG relative
Temperature
Cool
67/100 cool
Color family
Blue
Tone
Muted
Best ink
White
13.32:1
Closest name
Black
ΔE2000 14.2
Where it sits
Hue228° of 360°
Saturation15%
Lightness20%
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#2c2f3b
RGBrgb(44, 47, 59)
HSLhsl(228, 15%, 20%)
CMYKcmyk(25%, 20%, 0%, 77%)
LABlab(19.6 1.9 -8.0)
LCHlch(19.6 8.3 283.3)
OKLCHoklch(0.307 0.022 274.0)
Decimal2895675
Display P3color(display-p3 0.173 0.184 0.231)

Copy-ready code

/* CSS */
color: #2c2f3b;
background-color: #2c2f3b;
/* Tailwind (arbitrary) */
class="text-[#2c2f3b] bg-[#2c2f3b]"
/* SCSS */
$brand: #2c2f3b;
/* SwiftUI */
Color(red: 0.173, green: 0.184, blue: 0.231)
/* Android */
Color.parseColor("#2c2f3b")
/* Flutter */
Color(0xFF2C2F3B)
/* Python / OpenCV (BGR) */
(59, 47, 44)

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

Accessibility — WCAG contrast

Aa
#2c2f3b on white: 13.32:1
AA ✓ pass · AA-large · AAA
Aa
#2c2f3b on black: 1.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C303C
deuteranopia · #2B2F3B
tritanopia · #283133

Color scale — 50 to 950

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

#F6F7F8
#EEEFF1
#DADBE2
#BFC2CF
#9FA3B7
#7E859F
#69708C
#575D75
#464A5E
#2c2f3b
#21232B
Base = 900Lightest = 50 · #F6F7F8Darkest = 950 · #21232B
:root {
  --brand-50: #F6F7F8;
  --brand-100: #EEEFF1;
  --brand-200: #DADBE2;
  --brand-300: #BFC2CF;
  --brand-400: #9FA3B7;
  --brand-500: #7E859F;
  --brand-600: #69708C;
  --brand-700: #575D75;
  --brand-800: #464A5E;
  --brand-900: #2c2f3b;
  --brand-950: #21232B;
  --brand: #2c2f3b;
  --brand-ink: #ffffff;
}

Colors that work with #2c2f3b

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#F6F7F8
Tinted page background
Border#D0D3DC
Hairlines and dividers
Muted text#626984
Captions on the surface
Accent#3D342A
Second voice, not a rival
Dark variant#363A49
Hover, pressed, headers
Light variant#F0F1F4
Selected rows, tints
Dark surface#181A20
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 #2c2f3b

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
  • 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#3B382C
Analogous left#2C373B
Analogous right#312C3B
Split-complement 1#3B312C
Split-complement 2#373B2C
Triadic 1#3B2C2F
Triadic 2#2F3B2C
Tetradic#3B2C37

RGB percentages

Red17.3%
Green18.4%
Blue23.1%

CMYK percentages

Cyan25.4%
Magenta20.3%
Yellow0.0%
Key (black)76.9%

Color previews

#2c2f3b text on a black background

contrast 1.58:1

Card sample

#2c2f3b text on a white background

contrast 13.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 47, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 47, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c2f3b;
background: linear-gradient(135deg, #2c2f3b, #332C3B);

Monochromatic scale

Palettes built from #2c2f3b

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.

#2c2f3b in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
BackgroundsBordersBody textDividers
Print note

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

#2c2f3b, answered

What color is #2c2f3b?

#2c2f3b is a deep muted blue, closest to Black (ΔE2000 14.2). It sits at 228° on the hue wheel with 15% saturation and 20% lightness, which reads as cool.

What is the RGB value of #2c2f3b?

rgb(44, 47, 59) — 44 red, 47 green and 59 blue out of 255, or 17.3% / 18.4% / 23.1% by channel.

Is #2c2f3b a light or a dark color?

It is a dark color. Relative luminance is 0.0288 and perceived brightness is 19%, so white text on it reaches 13.32:1.

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

White. It scores 13.32:1 against #2c2f3b, versus 1.58:1 for black — AAA at any size.

What is the complementary color of #2c2f3b?

#3B382C sits directly opposite on the wheel. Softer options are the split-complements #3B312C and #373B2C, which give the same contrast with far less vibration.

What colors go well with #2c2f3b?

For interface work: #F6F7F8 as the surface, #D0D3DC for borders, #626984 for secondary text, #3D342A as an accent and #363A49 for hover and pressed states. For a palette, the analogous pair #2C373B and #312C3B stays calm, while #3B382C is the loudest partner.

What is #2c2f3b in CMYK for printing?

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

Is #2c2f3b 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 #2E2C3B; nudged cooler, #2B333C.

Work with #2c2f3b in the Color Lab