Skip to content

#2c366c

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

RGB
44, 54, 108
HSL
231°, 42%, 30%
CMYK
59, 50, 0, 58
Luminance
0.0426

At a glance

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

Hex
#2c366c
Hue
231°
blue
Saturation
42%
soft
Lightness
30%
dark
Brightness
42%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0426
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Soft
Best ink
White
11.34:1
Closest name
Dark Slate Blue
ΔE2000 7.2
Where it sits
Hue231° of 360°
Saturation42%
Lightness30%
Temperature
Warm ← → Cool89% 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#2c366c
RGBrgb(44, 54, 108)
HSLhsl(231, 42%, 30%)
CMYKcmyk(59%, 50%, 0%, 58%)
LABlab(24.5 13.6 -32.9)
LCHlch(24.5 35.5 292.4)
OKLCHoklch(0.354 0.094 272.8)
Decimal2897516
Display P3color(display-p3 0.173 0.212 0.424)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c366c on white: 11.34:1
AA ✓ pass · AA-large · AAA
Aa
#2c366c on black: 1.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1C3D6E
deuteranopia · #14386B
tritanopia · #07424B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2c366c is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F6FA
#EBECF5
#D2D5EA
#AFB7DF
#8793CE
#606EBE
#4757AE
#3B4991
#2c366c
#252D55
#171C35
Base = 800Lightest = 50 · #F5F6FADarkest = 950 · #171C35
:root {
  --brand-50: #F5F6FA;
  --brand-100: #EBECF5;
  --brand-200: #D2D5EA;
  --brand-300: #AFB7DF;
  --brand-400: #8793CE;
  --brand-500: #606EBE;
  --brand-600: #4757AE;
  --brand-700: #3B4991;
  --brand-800: #2c366c;
  --brand-900: #252D55;
  --brand-950: #171C35;
  --brand: #2c366c;
  --brand-ink: #ffffff;
}

Colors that work with #2c366c

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#F4F5FA
Tinted page background
Border#C5CAE7
Hairlines and dividers
Muted text#4B579B
Captions on the surface
Accent#6F5329
Second voice, not a rival
Dark variant#252D5B
Hover, pressed, headers
Light variant#EDEFF8
Selected rows, tints
Dark surface#141624
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 #2c366c

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#6C622C
Analogous left#2C566C
Analogous right#422C6C
Split-complement 1#6C422C
Split-complement 2#566C2C
Triadic 1#6C2C36
Triadic 2#366C2C
Tetradic#6C2C56

RGB percentages

Red17.3%
Green21.2%
Blue42.4%

CMYK percentages

Cyan59.3%
Magenta50.0%
Yellow0.0%
Key (black)57.6%

Color previews

#2c366c text on a black background

contrast 1.85:1

Card sample

#2c366c text on a white background

contrast 11.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 54, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 54, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c366c;
background: linear-gradient(135deg, #2c366c, #4D2C6C);

Monochromatic scale

Palettes built from #2c366c

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.

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

#2c366c, answered

What color is #2c366c?

#2c366c is a dark soft blue, closest to Dark Slate Blue (ΔE2000 7.2). It sits at 231° on the hue wheel with 42% saturation and 30% lightness, which reads as cool.

What is the RGB value of #2c366c?

rgb(44, 54, 108) — 44 red, 54 green and 108 blue out of 255, or 17.3% / 21.2% / 42.4% by channel.

Is #2c366c a light or a dark color?

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

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

White. It scores 11.34:1 against #2c366c, versus 1.85:1 for black — AAA at any size.

What is the complementary color of #2c366c?

#6C622C sits directly opposite on the wheel. Softer options are the split-complements #6C422C and #566C2C, which give the same contrast with far less vibration.

What colors go well with #2c366c?

For interface work: #F4F5FA as the surface, #C5CAE7 for borders, #4B579B for secondary text, #6F5329 as an accent and #252D5B for hover and pressed states. For a palette, the analogous pair #2C566C and #422C6C stays calm, while #6C622C is the loudest partner.

What is #2c366c in CMYK for printing?

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

Is #2c366c warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #392C6C; nudged cooler, #2A456E.

Work with #2c366c in the Color Lab