Skip to content

#3c2cab

a dark, vivid blue · cool · closest name: Medium Blue

RGB
60, 44, 171
HSL
248°, 59%, 42%
CMYK
65, 74, 0, 33
Luminance
0.0570

At a glance

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

Hex
#3c2cab
Hue
248°
blue
Saturation
59%
vivid
Lightness
42%
dark
Brightness
67%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0570
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.81:1
Closest name
Medium Blue
ΔE2000 6.9
Where it sits
Hue248° of 360°
Saturation59%
Lightness42%
Temperature
Warm ← → Cool79% 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#3c2cab
RGBrgb(60, 44, 171)
HSLhsl(248, 59%, 42%)
CMYKcmyk(65%, 74%, 0%, 33%)
LABlab(28.6 44.5 -65.2)
LCHlch(28.6 78.9 304.3)
OKLCHoklch(0.404 0.191 279.3)
Decimal3943595
Display P3color(display-p3 0.235 0.173 0.671)

Copy-ready code

/* CSS */
color: #3c2cab;
background-color: #3c2cab;
/* Tailwind (arbitrary) */
class="text-[#3c2cab] bg-[#3c2cab]"
/* SCSS */
$brand: #3c2cab;
/* SwiftUI */
Color(red: 0.235, green: 0.173, blue: 0.671)
/* Android */
Color.parseColor("#3c2cab")
/* Flutter */
Color(0xFF3C2CAB)
/* Python / OpenCV (BGR) */
(171, 44, 60)

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

Accessibility — WCAG contrast

Aa
#3c2cab on white: 9.81:1
AA ✓ pass · AA-large · AAA
Aa
#3c2cab on black: 2.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0048AF
deuteranopia · #003EA9
tritanopia · #005069

Color scale — 50 to 950

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

#F5F4FB
#EAE9F7
#D1CDEF
#AEA6E8
#8679DD
#5D4CD1
#4432C3
#3c2cab
#2E2182
#241C5E
#17113B
Base = 700Lightest = 50 · #F5F4FBDarkest = 950 · #17113B
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EAE9F7;
  --brand-200: #D1CDEF;
  --brand-300: #AEA6E8;
  --brand-400: #8679DD;
  --brand-500: #5D4CD1;
  --brand-600: #4432C3;
  --brand-700: #3c2cab;
  --brand-800: #2E2182;
  --brand-900: #241C5E;
  --brand-950: #17113B;
  --brand: #3c2cab;
  --brand-ink: #ffffff;
}

Colors that work with #3c2cab

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#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#554B9B
Captions on the surface
Accent#A69626
Second voice, not a rival
Dark variant#241A65
Hover, pressed, headers
Light variant#EDEBFA
Selected rows, tints
Dark surface#161424
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 #3c2cab

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#9BAB2C
Analogous left#2C5BAB
Analogous right#7C2CAB
Split-complement 1#AB7C2C
Split-complement 2#5BAB2C
Triadic 1#AB3C2C
Triadic 2#2CAB3C
Tetradic#AB2C5B

RGB percentages

Red23.5%
Green17.3%
Blue67.1%

CMYK percentages

Cyan64.9%
Magenta74.3%
Yellow0.0%
Key (black)32.9%

Color previews

#3c2cab text on a black background

contrast 2.14:1

Card sample

#3c2cab text on a white background

contrast 9.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3c2cab;
Background color
Panel with #3c2cab background
background-color: #3c2cab;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 44, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 44, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c2cab;
background: linear-gradient(135deg, #3c2cab, #912CAB);

Monochromatic scale

Palettes built from #3c2cab

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.

#3c2cab 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.

#3c2cab, answered

What color is #3c2cab?

#3c2cab is a dark vivid blue, closest to Medium Blue (ΔE2000 6.9). It sits at 248° on the hue wheel with 59% saturation and 42% lightness, which reads as cool.

What is the RGB value of #3c2cab?

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

Is #3c2cab a light or a dark color?

It is a dark color. Relative luminance is 0.0570 and perceived brightness is 29%, so white text on it reaches 9.81:1.

Should I use black or white text on #3c2cab?

White. It scores 9.81:1 against #3c2cab, versus 2.14:1 for black — AAA at any size.

What is the complementary color of #3c2cab?

#9BAB2C sits directly opposite on the wheel. Softer options are the split-complements #AB7C2C and #5BAB2C, which give the same contrast with far less vibration.

What colors go well with #3c2cab?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #554B9B for secondary text, #A69626 as an accent and #241A65 for hover and pressed states. For a palette, the analogous pair #2C5BAB and #7C2CAB stays calm, while #9BAB2C is the loudest partner.

What is #3c2cab in CMYK for printing?

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

Is #3c2cab warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B2CAB; nudged cooler, #2A49AD.

Work with #3c2cab in the Color Lab