Skip to content

#3c4ecf

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

RGB
60, 78, 207
HSL
233°, 61%, 52%
CMYK
71, 62, 0, 19
Luminance
0.1091

At a glance

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

Hex
#3c4ecf
Hue
233°
blue
Saturation
61%
vivid
Lightness
52%
balanced
Brightness
81%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1091
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.60:1
Closest name
Slate Blue
ΔE2000 7.2
Where it sits
Hue233° of 360°
Saturation61%
Lightness52%
Temperature
Warm ← → Cool87% 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#3c4ecf
RGBrgb(60, 78, 207)
HSLhsl(233, 61%, 52%)
CMYKcmyk(71%, 62%, 0%, 19%)
LABlab(39.4 36.3 -68.7)
LCHlch(39.4 77.7 297.8)
OKLCHoklch(0.492 0.198 271.0)
Decimal3952335
Display P3color(display-p3 0.235 0.306 0.812)

Copy-ready code

/* CSS */
color: #3c4ecf;
background-color: #3c4ecf;
/* Tailwind (arbitrary) */
class="text-[#3c4ecf] bg-[#3c4ecf]"
/* SCSS */
$brand: #3c4ecf;
/* SwiftUI */
Color(red: 0.235, green: 0.306, blue: 0.812)
/* Android */
Color.parseColor("#3c4ecf")
/* Flutter */
Color(0xFF3C4ECF)
/* Python / OpenCV (BGR) */
(207, 78, 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 #3c4ecf · 6.60:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.60:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.18:1
AA fail · AA large pass · AAA fail
Reading the other direction: #3c4ecf as text scores 6.60:1 on white and 3.18:1 on black.

Accessibility — WCAG contrast

Aa
#3c4ecf on white: 6.60:1
AA ✓ pass · AA-large · AAA
Aa
#3c4ecf on black: 3.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064D3
deuteranopia · #0056CD
tritanopia · #006F87

Color scale — 50 to 950

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

#F4F5FB
#E8EAF7
#CCD0EF
#A5ADE9
#7884DE
#3c4ecf
#3042C4
#2837A4
#202C83
#1B235F
#11163C
Base = 500Lightest = 50 · #F4F5FBDarkest = 950 · #11163C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EAF7;
  --brand-200: #CCD0EF;
  --brand-300: #A5ADE9;
  --brand-400: #7884DE;
  --brand-500: #3c4ecf;
  --brand-600: #3042C4;
  --brand-700: #2837A4;
  --brand-800: #202C83;
  --brand-900: #1B235F;
  --brand-950: #11163C;
  --brand: #3c4ecf;
  --brand-ink: #ffffff;
}

Colors that work with #3c4ecf

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#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#A87724
Second voice, not a rival
Dark variant#192366
Hover, pressed, headers
Light variant#EBECFA
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 #3c4ecf

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
  • 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#CFBD3C
Analogous left#3C97CF
Analogous right#743CCF
Split-complement 1#CF743C
Split-complement 2#97CF3C
Triadic 1#CF3C4E
Triadic 2#4ECF3C
Tetradic#CF3C97

RGB percentages

Red23.5%
Green30.6%
Blue81.2%

CMYK percentages

Cyan71.0%
Magenta62.3%
Yellow0.0%
Key (black)18.8%

Color previews

#3c4ecf text on a black background

contrast 3.18:1

Card sample

#3c4ecf text on a white background

contrast 6.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(60, 78, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(60, 78, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3c4ecf;
background: linear-gradient(135deg, #3c4ecf, #8C3CCF);

Monochromatic scale

Palettes built from #3c4ecf

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.

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

#3c4ecf, answered

What color is #3c4ecf?

#3c4ecf is a balanced vivid blue, closest to Slate Blue (ΔE2000 7.2). It sits at 233° on the hue wheel with 61% saturation and 52% lightness, which reads as cool.

What is the RGB value of #3c4ecf?

rgb(60, 78, 207) — 60 red, 78 green and 207 blue out of 255, or 23.5% / 30.6% / 81.2% by channel.

Is #3c4ecf a light or a dark color?

It is a dark color. Relative luminance is 0.1091 and perceived brightness is 38%, so white text on it reaches 6.60:1.

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

White. It scores 6.60:1 against #3c4ecf, versus 3.18:1 for black — AA at any size.

What is the complementary color of #3c4ecf?

#CFBD3C sits directly opposite on the wheel. Softer options are the split-complements #CF743C and #97CF3C, which give the same contrast with far less vibration.

What colors go well with #3c4ecf?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #A87724 as an accent and #192366 for hover and pressed states. For a palette, the analogous pair #3C97CF and #743CCF stays calm, while #CFBD3C is the loudest partner.

What is #3c4ecf in CMYK for printing?

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

Is #3c4ecf warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #603CCF; nudged cooler, #3A6AD1.

Work with #3c4ecf in the Color Lab