Skip to content

#2c3f4d

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

RGB
44, 63, 77
HSL
206°, 27%, 24%
CMYK
43, 18, 0, 70
Luminance
0.0463

At a glance

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

Hex
#2c3f4d
Hue
206°
blue
Saturation
27%
soft
Lightness
24%
deep
Brightness
30%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0463
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Soft
Best ink
White
10.91:1
Closest name
Dark Slate Gray
ΔE2000 11.3
Where it sits
Hue206° of 360°
Saturation27%
Lightness24%
Temperature
Warm ← → Cool88% 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#2c3f4d
RGBrgb(44, 63, 77)
HSLhsl(206, 27%, 24%)
CMYKcmyk(43%, 18%, 0%, 70%)
LABlab(25.6 -3.4 -10.9)
LCHlch(25.6 11.4 252.9)
OKLCHoklch(0.358 0.034 240.8)
Decimal2899789
Display P3color(display-p3 0.173 0.247 0.302)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c3f4d on white: 10.91:1
AA ✓ pass · AA-large · AAA
Aa
#2c3f4d on black: 1.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #393F4E
deuteranopia · #353B4D
tritanopia · #204244

Color scale — 50 to 950

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

#F6F8F9
#ECF0F3
#D6DFE6
#B8C9D6
#94AEC2
#7093AD
#597F9C
#4A6A82
#3B5568
#2c3f4d
#1D2830
Base = 900Lightest = 50 · #F6F8F9Darkest = 950 · #1D2830
:root {
  --brand-50: #F6F8F9;
  --brand-100: #ECF0F3;
  --brand-200: #D6DFE6;
  --brand-300: #B8C9D6;
  --brand-400: #94AEC2;
  --brand-500: #7093AD;
  --brand-600: #597F9C;
  --brand-700: #4A6A82;
  --brand-800: #3B5568;
  --brand-900: #2c3f4d;
  --brand-950: #1D2830;
  --brand: #2c3f4d;
  --brand-ink: #ffffff;
}

Colors that work with #2c3f4d

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#F5F8F9
Tinted page background
Border#CBD8E1
Hairlines and dividers
Muted text#537792
Captions on the surface
Accent#4F302A
Second voice, not a rival
Dark variant#2E4251
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 #2c3f4d

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#4D3A2C
Analogous left#2C4D4A
Analogous right#2C2E4D
Split-complement 1#4D2C2E
Split-complement 2#4D4A2C
Triadic 1#4D2C3F
Triadic 2#3F4D2C
Tetradic#4A2C4D

RGB percentages

Red17.3%
Green24.7%
Blue30.2%

CMYK percentages

Cyan42.9%
Magenta18.2%
Yellow0.0%
Key (black)69.8%

Color previews

#2c3f4d text on a black background

contrast 1.93:1

Card sample

#2c3f4d text on a white background

contrast 10.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c3f4d

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.

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

#2c3f4d, answered

What color is #2c3f4d?

#2c3f4d is a deep soft blue, closest to Dark Slate Gray (ΔE2000 11.3). It sits at 206° on the hue wheel with 27% saturation and 24% lightness, which reads as cool.

What is the RGB value of #2c3f4d?

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

Is #2c3f4d a light or a dark color?

It is a dark color. Relative luminance is 0.0463 and perceived brightness is 23%, so white text on it reaches 10.91:1.

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

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

What is the complementary color of #2c3f4d?

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

What colors go well with #2c3f4d?

For interface work: #F5F8F9 as the surface, #CBD8E1 for borders, #537792 for secondary text, #4F302A as an accent and #2E4251 for hover and pressed states. For a palette, the analogous pair #2C4D4A and #2C2E4D stays calm, while #4D3A2C is the loudest partner.

What is #2c3f4d in CMYK for printing?

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

Is #2c3f4d warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2C4B4D; nudged cooler, #222F3E.

Work with #2c3f4d in the Color Lab