Skip to content

#3f2fd2

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

RGB
63, 47, 210
HSL
246°, 64%, 50%
CMYK
70, 78, 0, 18
Luminance
0.0774

At a glance

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

Hex
#3f2fd2
Hue
246°
blue
Saturation
64%
vivid
Lightness
50%
balanced
Brightness
82%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0774
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.24:1
Closest name
Blue
ΔE2000 5.8
Where it sits
Hue246° of 360°
Saturation64%
Lightness50%
Temperature
Warm ← → Cool80% 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#3f2fd2
RGBrgb(63, 47, 210)
HSLhsl(246, 64%, 50%)
CMYKcmyk(70%, 78%, 0%, 18%)
LABlab(33.4 55.3 -80.3)
LCHlch(33.4 97.4 304.6)
OKLCHoklch(0.451 0.233 275.9)
Decimal4141010
Display P3color(display-p3 0.247 0.184 0.824)

Copy-ready code

/* CSS */
color: #3f2fd2;
background-color: #3f2fd2;
/* Tailwind (arbitrary) */
class="text-[#3f2fd2] bg-[#3f2fd2]"
/* SCSS */
$brand: #3f2fd2;
/* SwiftUI */
Color(red: 0.247, green: 0.184, blue: 0.824)
/* Android */
Color.parseColor("#3f2fd2")
/* Flutter */
Color(0xFF3F2FD2)
/* Python / OpenCV (BGR) */
(210, 47, 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 #3f2fd2 · 8.24:1
Use #ffffffAAA at every size.
Aa
White text · 8.24:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.55:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3f2fd2 as text scores 8.24:1 on white and 2.55:1 on black.

Accessibility — WCAG contrast

Aa
#3f2fd2 on white: 8.24:1
AA ✓ pass · AA-large · AAA
Aa
#3f2fd2 on black: 2.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056D7
deuteranopia · #0047CF
tritanopia · #006080

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3f2fd2 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
#EAE8F7
#CFCBF1
#AAA3EB
#7F75E1
#5547D7
#3f2fd2
#3124A8
#271D86
#201961
#14103D
Base = 600Lightest = 50 · #F4F4FBDarkest = 950 · #14103D
:root {
  --brand-50: #F4F4FB;
  --brand-100: #EAE8F7;
  --brand-200: #CFCBF1;
  --brand-300: #AAA3EB;
  --brand-400: #7F75E1;
  --brand-500: #5547D7;
  --brand-600: #3f2fd2;
  --brand-700: #3124A8;
  --brand-800: #271D86;
  --brand-900: #201961;
  --brand-950: #14103D;
  --brand: #3f2fd2;
  --brand-ink: #ffffff;
}

Colors that work with #3f2fd2

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#C4C0ED
Hairlines and dividers
Muted text#524B9B
Captions on the surface
Accent#AC9720
Second voice, not a rival
Dark variant#1F1769
Hover, pressed, headers
Light variant#ECEAFA
Selected rows, tints
Dark surface#151424
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 #3f2fd2

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#C2D22F
Analogous left#2F71D2
Analogous right#912FD2
Split-complement 1#D2912F
Split-complement 2#71D22F
Triadic 1#D23F2F
Triadic 2#2FD23F
Tetradic#D22F71

RGB percentages

Red24.7%
Green18.4%
Blue82.4%

CMYK percentages

Cyan70.0%
Magenta77.6%
Yellow0.0%
Key (black)17.6%

Color previews

#3f2fd2 text on a black background

contrast 2.55:1

Card sample

#3f2fd2 text on a white background

contrast 8.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 47, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 47, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f2fd2;
background: linear-gradient(135deg, #3f2fd2, #AC2FD2);

Monochromatic scale

Palettes built from #3f2fd2

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.

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

#3f2fd2, answered

What color is #3f2fd2?

#3f2fd2 is a balanced vivid blue, closest to Blue (ΔE2000 5.8). It sits at 246° on the hue wheel with 64% saturation and 50% lightness, which reads as cool.

What is the RGB value of #3f2fd2?

rgb(63, 47, 210) — 63 red, 47 green and 210 blue out of 255, or 24.7% / 18.4% / 82.4% by channel.

Is #3f2fd2 a light or a dark color?

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

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

White. It scores 8.24:1 against #3f2fd2, versus 2.55:1 for black — AAA at any size.

What is the complementary color of #3f2fd2?

#C2D22F sits directly opposite on the wheel. Softer options are the split-complements #D2912F and #71D22F, which give the same contrast with far less vibration.

What colors go well with #3f2fd2?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #AC9720 as an accent and #1F1769 for hover and pressed states. For a palette, the analogous pair #2F71D2 and #912FD2 stays calm, while #C2D22F is the loudest partner.

What is #3f2fd2 in CMYK for printing?

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

Is #3f2fd2 warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B2FD2; nudged cooler, #2D51D5.

Work with #3f2fd2 in the Color Lab