Skip to content

#2c3f4f

a deep, soft blue · cool · closest name: Dark Slate Blue

RGB
44, 63, 79
HSL
207°, 29%, 24%
CMYK
44, 20, 0, 69
Luminance
0.0465

At a glance

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

Hex
#2c3f4f
Hue
207°
blue
Saturation
29%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0465
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Soft
Best ink
White
10.88:1
Closest name
Dark Slate Blue
ΔE2000 11.5
Where it sits
Hue207° of 360°
Saturation29%
Lightness24%
Temperature
Warm ← → Cool90% 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#2c3f4f
RGBrgb(44, 63, 79)
HSLhsl(207, 29%, 24%)
CMYKcmyk(44%, 20%, 0%, 69%)
LABlab(25.7 -2.7 -12.1)
LCHlch(25.7 12.4 257.3)
OKLCHoklch(0.358 0.037 244.5)
Decimal2899791
Display P3color(display-p3 0.173 0.247 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c3f4f on white: 10.88:1
AA ✓ pass · AA-large · AAA
Aa
#2c3f4f on black: 1.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #383F50
deuteranopia · #343B4F
tritanopia · #1F4344

Color scale — 50 to 950

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

#F6F7F9
#ECF0F3
#D6DFE6
#B7C8D7
#93ADC3
#6F92AF
#587D9D
#496983
#3A5469
#2c3f4f
#1C2730
Base = 900Lightest = 50 · #F6F7F9Darkest = 950 · #1C2730
:root {
  --brand-50: #F6F7F9;
  --brand-100: #ECF0F3;
  --brand-200: #D6DFE6;
  --brand-300: #B7C8D7;
  --brand-400: #93ADC3;
  --brand-500: #6F92AF;
  --brand-600: #587D9D;
  --brand-700: #496983;
  --brand-800: #3A5469;
  --brand-900: #2c3f4f;
  --brand-950: #1C2730;
  --brand: #2c3f4f;
  --brand-ink: #ffffff;
}

Colors that work with #2c3f4f

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#F5F8FA
Tinted page background
Border#CBD7E2
Hairlines and dividers
Muted text#527693
Captions on the surface
Accent#513229
Second voice, not a rival
Dark variant#2E4152
Hover, pressed, headers
Light variant#EFF3F6
Selected rows, tints
Dark surface#141D24
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 #2c3f4f

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#4F3C2C
Analogous left#2C4F4D
Analogous right#2C2D4F
Split-complement 1#4F2C2D
Split-complement 2#4F4D2C
Triadic 1#4F2C3F
Triadic 2#3F4F2C
Tetradic#4D2C4F

RGB percentages

Red17.3%
Green24.7%
Blue31.0%

CMYK percentages

Cyan44.3%
Magenta20.3%
Yellow0.0%
Key (black)69.0%

Color previews

#2c3f4f text on a black background

contrast 1.93:1

Card sample

#2c3f4f text on a white background

contrast 10.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c3f4f

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.

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

#2c3f4f, answered

What color is #2c3f4f?

#2c3f4f is a deep soft blue, closest to Dark Slate Blue (ΔE2000 11.5). It sits at 207° on the hue wheel with 29% saturation and 24% lightness, which reads as cool.

What is the RGB value of #2c3f4f?

rgb(44, 63, 79) — 44 red, 63 green and 79 blue out of 255, or 17.3% / 24.7% / 31% by channel.

Is #2c3f4f a light or a dark color?

It is a dark color. Relative luminance is 0.0465 and perceived brightness is 24%, so white text on it reaches 10.88:1.

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

White. It scores 10.88:1 against #2c3f4f, versus 1.93:1 for black — AAA at any size.

What is the complementary color of #2c3f4f?

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

What colors go well with #2c3f4f?

For interface work: #F5F8FA as the surface, #CBD7E2 for borders, #527693 for secondary text, #513229 as an accent and #2E4152 for hover and pressed states. For a palette, the analogous pair #2C4F4D and #2C2D4F stays calm, while #4F3C2C is the loudest partner.

What is #2c3f4f in CMYK for printing?

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

Is #2c3f4f warm or cool?

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

Work with #2c3f4f in the Color Lab