Skip to content

#2c2f3c

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

RGB
44, 47, 60
HSL
229°, 15%, 20%
CMYK
27, 22, 0, 77
Luminance
0.0289

At a glance

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

Hex
#2c2f3c
Hue
229°
blue
Saturation
15%
soft
Lightness
20%
deep
Brightness
24%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0289
WCAG relative
Temperature
Cool
67/100 cool
Color family
Blue
Tone
Soft
Best ink
White
13.30:1
Closest name
Black
ΔE2000 14.5
Where it sits
Hue229° 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#2c2f3c
RGBrgb(44, 47, 60)
HSLhsl(229, 15%, 20%)
CMYKcmyk(27%, 22%, 0%, 77%)
LABlab(19.6 2.2 -8.7)
LCHlch(19.6 8.9 284.2)
OKLCHoklch(0.308 0.024 274.8)
Decimal2895676
Display P3color(display-p3 0.173 0.184 0.235)

Copy-ready code

/* CSS */
color: #2c2f3c;
background-color: #2c2f3c;
/* Tailwind (arbitrary) */
class="text-[#2c2f3c] bg-[#2c2f3c]"
/* SCSS */
$brand: #2c2f3c;
/* SwiftUI */
Color(red: 0.173, green: 0.184, blue: 0.235)
/* Android */
Color.parseColor("#2c2f3c")
/* Flutter */
Color(0xFF2C2F3C)
/* Python / OpenCV (BGR) */
(60, 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 #2c2f3c · 13.30:1
Use #ffffffAAA at every size.
Aa
White text · 13.30: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: #2c2f3c as text scores 13.30:1 on white and 1.58:1 on black.

Accessibility — WCAG contrast

Aa
#2c2f3c on white: 13.30:1
AA ✓ pass · AA-large · AAA
Aa
#2c2f3c on black: 1.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B303D
deuteranopia · #2A2F3C
tritanopia · #283133

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c2f3c 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
#EEEFF2
#D9DBE2
#BEC1D0
#9EA3B8
#7E84A0
#686F8D
#565C76
#454A5E
#2c2f3c
#21232C
Base = 900Lightest = 50 · #F6F7F8Darkest = 950 · #21232C
:root {
  --brand-50: #F6F7F8;
  --brand-100: #EEEFF2;
  --brand-200: #D9DBE2;
  --brand-300: #BEC1D0;
  --brand-400: #9EA3B8;
  --brand-500: #7E84A0;
  --brand-600: #686F8D;
  --brand-700: #565C76;
  --brand-800: #454A5E;
  --brand-900: #2c2f3c;
  --brand-950: #21232C;
  --brand: #2c2f3c;
  --brand-ink: #ffffff;
}

Colors that work with #2c2f3c

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#F6F7F9
Tinted page background
Border#D0D2DC
Hairlines and dividers
Muted text#616884
Captions on the surface
Accent#3E352A
Second voice, not a rival
Dark variant#363A4A
Hover, pressed, headers
Light variant#F0F1F4
Selected rows, tints
Dark surface#181920
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 #2c2f3c

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
  • 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#3C392C
Analogous left#2C373C
Analogous right#312C3C
Split-complement 1#3C312C
Split-complement 2#373C2C
Triadic 1#3C2C2F
Triadic 2#2F3C2C
Tetradic#3C2C37

RGB percentages

Red17.3%
Green18.4%
Blue23.5%

CMYK percentages

Cyan26.7%
Magenta21.7%
Yellow0.0%
Key (black)76.5%

Color previews

#2c2f3c text on a black background

contrast 1.58:1

Card sample

#2c2f3c text on a white background

contrast 13.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c2f3c

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.

#2c2f3c 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
ButtonsLinksFocus statesCharts
Print note

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

#2c2f3c, answered

What color is #2c2f3c?

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

What is the RGB value of #2c2f3c?

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

Is #2c2f3c a light or a dark color?

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

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

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

What is the complementary color of #2c2f3c?

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

What colors go well with #2c2f3c?

For interface work: #F6F7F9 as the surface, #D0D2DC for borders, #616884 for secondary text, #3E352A as an accent and #363A4A for hover and pressed states. For a palette, the analogous pair #2C373C and #312C3C stays calm, while #3C392C is the loudest partner.

What is #2c2f3c in CMYK for printing?

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

Is #2c2f3c 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 #2F2C3C; nudged cooler, #2B333D.

Work with #2c2f3c in the Color Lab