Skip to content

#3c3daf

a balanced, vivid blue · cool · closest name: Dark Slate Blue

RGB
60, 61, 175
HSL
240°, 49%, 46%
CMYK
66, 65, 0, 31
Luminance
0.0739

At a glance

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

Hex
#3c3daf
Hue
240°
blue
Saturation
49%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0739
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.47:1
Closest name
Dark Slate Blue
ΔE2000 6.3
Where it sits
Hue240° of 360°
Saturation49%
Lightness46%
Temperature
Warm ← → Cool84% 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#3c3daf
RGBrgb(60, 61, 175)
HSLhsl(240, 49%, 46%)
CMYKcmyk(66%, 65%, 0%, 31%)
LABlab(32.7 35.8 -60.9)
LCHlch(32.7 70.7 300.4)
OKLCHoklch(0.434 0.177 275.8)
Decimal3947951
Display P3color(display-p3 0.235 0.239 0.686)

Copy-ready code

/* CSS */
color: #3c3daf;
background-color: #3c3daf;
/* Tailwind (arbitrary) */
class="text-[#3c3daf] bg-[#3c3daf]"
/* SCSS */
$brand: #3c3daf;
/* SwiftUI */
Color(red: 0.235, green: 0.239, blue: 0.686)
/* Android */
Color.parseColor("#3c3daf")
/* Flutter */
Color(0xFF3C3DAF)
/* Python / OpenCV (BGR) */
(175, 61, 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 #3c3daf · 8.47:1
Use #ffffffAAA at every size.
Aa
White text · 8.47:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.48:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3c3daf as text scores 8.47:1 on white and 2.48:1 on black.

Accessibility — WCAG contrast

Aa
#3c3daf on white: 8.47:1
AA ✓ pass · AA-large · AAA
Aa
#3c3daf on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B3
deuteranopia · #0048AD
tritanopia · #005A70

Color scale — 50 to 950

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

#F4F4FA
#EAEAF6
#D0D0EC
#ABACE2
#8282D4
#5859C6
#3c3daf
#343598
#2A2A7A
#222259
#151537
Base = 600Lightest = 50 · #F4F4FADarkest = 950 · #151537
:root {
  --brand-50: #F4F4FA;
  --brand-100: #EAEAF6;
  --brand-200: #D0D0EC;
  --brand-300: #ABACE2;
  --brand-400: #8282D4;
  --brand-500: #5859C6;
  --brand-600: #3c3daf;
  --brand-700: #343598;
  --brand-800: #2A2A7A;
  --brand-900: #222259;
  --brand-950: #151537;
  --brand: #3c3daf;
  --brand-ink: #ffffff;
}

Colors that work with #3c3daf

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#F4F4FA
Tinted page background
Border#C2C3EA
Hairlines and dividers
Muted text#4B4B9B
Captions on the surface
Accent#9C8030
Second voice, not a rival
Dark variant#21215F
Hover, pressed, headers
Light variant#ECECF8
Selected rows, tints
Dark surface#141424
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 #3c3daf

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#AFAE3C
Analogous left#3C77AF
Analogous right#753CAF
Split-complement 1#AF753C
Split-complement 2#77AF3C
Triadic 1#AF3C3D
Triadic 2#3DAF3C
Tetradic#AF3C77

RGB percentages

Red23.5%
Green23.9%
Blue68.6%

CMYK percentages

Cyan65.7%
Magenta65.1%
Yellow0.0%
Key (black)31.4%

Color previews

#3c3daf text on a black background

contrast 2.48:1

Card sample

#3c3daf text on a white background

contrast 8.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 61, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 61, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c3daf;
background: linear-gradient(135deg, #3c3daf, #883CAF);

Monochromatic scale

Palettes built from #3c3daf

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.

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

#3c3daf, answered

What color is #3c3daf?

#3c3daf is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 6.3). It sits at 240° on the hue wheel with 49% saturation and 46% lightness, which reads as cool.

What is the RGB value of #3c3daf?

rgb(60, 61, 175) — 60 red, 61 green and 175 blue out of 255, or 23.5% / 23.9% / 68.6% by channel.

Is #3c3daf a light or a dark color?

It is a dark color. Relative luminance is 0.0739 and perceived brightness is 32%, so white text on it reaches 8.47:1.

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

White. It scores 8.47:1 against #3c3daf, versus 2.48:1 for black — AAA at any size.

What is the complementary color of #3c3daf?

#AFAE3C sits directly opposite on the wheel. Softer options are the split-complements #AF753C and #77AF3C, which give the same contrast with far less vibration.

What colors go well with #3c3daf?

For interface work: #F4F4FA as the surface, #C2C3EA for borders, #4B4B9B for secondary text, #9C8030 as an accent and #21215F for hover and pressed states. For a palette, the analogous pair #3C77AF and #753CAF stays calm, while #AFAE3C is the loudest partner.

What is #3c3daf in CMYK for printing?

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

Is #3c3daf warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #653CAF; nudged cooler, #3A5DB1.

Work with #3c3daf in the Color Lab