Skip to content

#2b2f39

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

RGB
43, 47, 57
HSL
223°, 14%, 20%
CMYK
25, 18, 0, 78
Luminance
0.0284

At a glance

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

Hex
#2b2f39
Hue
223°
blue
Saturation
14%
muted
Lightness
20%
deep
Brightness
22%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0284
WCAG relative
Temperature
Cool
67/100 cool
Color family
Blue
Tone
Muted
Best ink
White
13.39:1
Closest name
Black
ΔE2000 13.6
Where it sits
Hue223° of 360°
Saturation14%
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#2b2f39
RGBrgb(43, 47, 57)
HSLhsl(223, 14%, 20%)
CMYKcmyk(25%, 18%, 0%, 78%)
LABlab(19.4 0.9 -6.9)
LCHlch(19.4 7.0 277.6)
OKLCHoklch(0.305 0.019 268.1)
Decimal2830137
Display P3color(display-p3 0.169 0.184 0.224)

Copy-ready code

/* CSS */
color: #2b2f39;
background-color: #2b2f39;
/* Tailwind (arbitrary) */
class="text-[#2b2f39] bg-[#2b2f39]"
/* SCSS */
$brand: #2b2f39;
/* SwiftUI */
Color(red: 0.169, green: 0.184, blue: 0.224)
/* Android */
Color.parseColor("#2b2f39")
/* Flutter */
Color(0xFF2B2F39)
/* Python / OpenCV (BGR) */
(57, 47, 43)

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

Accessibility — WCAG contrast

Aa
#2b2f39 on white: 13.39:1
AA ✓ pass · AA-large · AAA
Aa
#2b2f39 on black: 1.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C3039
deuteranopia · #2B2E39
tritanopia · #283132

Color scale — 50 to 950

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

#F7F7F8
#EEEFF1
#DADCE2
#BFC4CF
#9FA6B7
#7F889F
#69738C
#586074
#464D5D
#2b2f39
#21242B
Base = 900Lightest = 50 · #F7F7F8Darkest = 950 · #21242B
:root {
  --brand-50: #F7F7F8;
  --brand-100: #EEEFF1;
  --brand-200: #DADCE2;
  --brand-300: #BFC4CF;
  --brand-400: #9FA6B7;
  --brand-500: #7F889F;
  --brand-600: #69738C;
  --brand-700: #586074;
  --brand-800: #464D5D;
  --brand-900: #2b2f39;
  --brand-950: #21242B;
  --brand: #2b2f39;
  --brand-ink: #ffffff;
}

Colors that work with #2b2f39

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#D0D4DC
Hairlines and dividers
Muted text#636C83
Captions on the surface
Accent#3B3129
Second voice, not a rival
Dark variant#373C49
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 #2b2f39

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#39352B
Analogous left#2B3639
Analogous right#2E2B39
Split-complement 1#392E2B
Split-complement 2#36392B
Triadic 1#392B2F
Triadic 2#2F392B
Tetradic#392B36

RGB percentages

Red16.9%
Green18.4%
Blue22.4%

CMYK percentages

Cyan24.6%
Magenta17.5%
Yellow0.0%
Key (black)77.6%

Color previews

#2b2f39 text on a black background

contrast 1.57:1

Card sample

#2b2f39 text on a white background

contrast 13.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 47, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 47, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b2f39;
background: linear-gradient(135deg, #2b2f39, #302B39);

Monochromatic scale

Palettes built from #2b2f39

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.

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

#2b2f39, answered

What color is #2b2f39?

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

What is the RGB value of #2b2f39?

rgb(43, 47, 57) — 43 red, 47 green and 57 blue out of 255, or 16.9% / 18.4% / 22.4% by channel.

Is #2b2f39 a light or a dark color?

It is a dark color. Relative luminance is 0.0284 and perceived brightness is 18%, so white text on it reaches 13.39:1.

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

White. It scores 13.39:1 against #2b2f39, versus 1.57:1 for black — AAA at any size.

What is the complementary color of #2b2f39?

#39352B sits directly opposite on the wheel. Softer options are the split-complements #392E2B and #36392B, which give the same contrast with far less vibration.

What colors go well with #2b2f39?

For interface work: #F6F7F8 as the surface, #D0D4DC for borders, #636C83 for secondary text, #3B3129 as an accent and #373C49 for hover and pressed states. For a palette, the analogous pair #2B3639 and #2E2B39 stays calm, while #39352B is the loudest partner.

What is #2b2f39 in CMYK for printing?

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

Is #2b2f39 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 #2C2B39; nudged cooler, #2A313A.

Work with #2b2f39 in the Color Lab