Skip to content

#3f3cc2

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

RGB
63, 60, 194
HSL
241°, 53%, 50%
CMYK
68, 69, 0, 24
Luminance
0.0818

At a glance

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

Hex
#3f3cc2
Hue
241°
blue
Saturation
53%
vivid
Lightness
50%
balanced
Brightness
76%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0818
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.96:1
Closest name
Dark Slate Blue
ΔE2000 8.6
Where it sits
Hue241° of 360°
Saturation53%
Lightness50%
Temperature
Warm ← → Cool83% 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#3f3cc2
RGBrgb(63, 60, 194)
HSLhsl(241, 53%, 50%)
CMYKcmyk(68%, 69%, 0%, 24%)
LABlab(34.4 43.2 -69.4)
LCHlch(34.4 81.7 301.9)
OKLCHoklch(0.452 0.202 275.7)
Decimal4144322
Display P3color(display-p3 0.247 0.235 0.761)

Copy-ready code

/* CSS */
color: #3f3cc2;
background-color: #3f3cc2;
/* Tailwind (arbitrary) */
class="text-[#3f3cc2] bg-[#3f3cc2]"
/* SCSS */
$brand: #3f3cc2;
/* SwiftUI */
Color(red: 0.247, green: 0.235, blue: 0.761)
/* Android */
Color.parseColor("#3f3cc2")
/* Flutter */
Color(0xFF3F3CC2)
/* Python / OpenCV (BGR) */
(194, 60, 63)

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

Accessibility — WCAG contrast

Aa
#3f3cc2 on white: 7.96:1
AA ✓ pass · AA-large · AAA
Aa
#3f3cc2 on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057C6
deuteranopia · #004BBF
tritanopia · #00607A

Color scale — 50 to 950

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

#F4F4FB
#EAE9F6
#CFCEED
#ABA9E5
#807ED7
#5654CA
#3f3cc2
#32309C
#28277D
#211F5B
#141439
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #141439
:root {
  --brand-50: #F4F4FB;
  --brand-100: #EAE9F6;
  --brand-200: #CFCEED;
  --brand-300: #ABA9E5;
  --brand-400: #807ED7;
  --brand-500: #5654CA;
  --brand-600: #3f3cc2;
  --brand-700: #32309C;
  --brand-800: #28277D;
  --brand-900: #211F5B;
  --brand-950: #141439;
  --brand: #3f3cc2;
  --brand-ink: #ffffff;
}

Colors that work with #3f3cc2

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#C2C1EC
Hairlines and dividers
Muted text#4C4B9B
Captions on the surface
Accent#A0852C
Second voice, not a rival
Dark variant#201E61
Hover, pressed, headers
Light variant#ECECF9
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 #3f3cc2

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#BFC23C
Analogous left#3C7CC2
Analogous right#823CC2
Split-complement 1#C2823C
Split-complement 2#7CC23C
Triadic 1#C23F3C
Triadic 2#3CC23F
Tetradic#C23C7C

RGB percentages

Red24.7%
Green23.5%
Blue76.1%

CMYK percentages

Cyan67.5%
Magenta69.1%
Yellow0.0%
Key (black)23.9%

Color previews

#3f3cc2 text on a black background

contrast 2.64:1

Card sample

#3f3cc2 text on a white background

contrast 7.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 60, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 60, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f3cc2;
background: linear-gradient(135deg, #3f3cc2, #983CC2);

Monochromatic scale

Palettes built from #3f3cc2

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.

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

#3f3cc2, answered

What color is #3f3cc2?

#3f3cc2 is a balanced vivid blue, closest to Dark Slate Blue (ΔE2000 8.6). It sits at 241° on the hue wheel with 53% saturation and 50% lightness, which reads as cool.

What is the RGB value of #3f3cc2?

rgb(63, 60, 194) — 63 red, 60 green and 194 blue out of 255, or 24.7% / 23.5% / 76.1% by channel.

Is #3f3cc2 a light or a dark color?

It is a dark color. Relative luminance is 0.0818 and perceived brightness is 34%, so white text on it reaches 7.96:1.

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

White. It scores 7.96:1 against #3f3cc2, versus 2.64:1 for black — AAA at any size.

What is the complementary color of #3f3cc2?

#BFC23C sits directly opposite on the wheel. Softer options are the split-complements #C2823C and #7CC23C, which give the same contrast with far less vibration.

What colors go well with #3f3cc2?

For interface work: #F4F4FA as the surface, #C2C1EC for borders, #4C4B9B for secondary text, #A0852C as an accent and #201E61 for hover and pressed states. For a palette, the analogous pair #3C7CC2 and #823CC2 stays calm, while #BFC23C is the loudest partner.

What is #3f3cc2 in CMYK for printing?

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

Is #3f3cc2 warm or cool?

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #703CC2; nudged cooler, #395FC5.

Work with #3f3cc2 in the Color Lab