Skip to content

#3f2cfe

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

RGB
63, 44, 254
HSL
245°, 99%, 58%
CMYK
75, 83, 0, 0
Luminance
0.1001

At a glance

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

Hex
#3f2cfe
Hue
245°
blue
Saturation
99%
electric
Lightness
58%
balanced
Brightness
100%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1001
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.99:1
Closest name
Blue
ΔE2000 5
Where it sits
Hue245° of 360°
Saturation99%
Lightness58%
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#3f2cfe
RGBrgb(63, 44, 254)
HSLhsl(245, 99%, 58%)
CMYKcmyk(75%, 83%, 0%, 0%)
LABlab(37.9 69.3 -98.0)
LCHlch(37.9 120.0 305.3)
OKLCHoklch(0.495 0.284 272.8)
Decimal4140286
Display P3color(display-p3 0.247 0.173 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2cfe on white: 6.99:1
AA ✓ pass · AA-large · AAA
Aa
#3f2cfe on black: 3.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063FF
deuteranopia · #004FFB
tritanopia · #007199

Color scale — 50 to 950

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

#F2F1FE
#E6E3FC
#C6C0FB
#998FFE
#6657FE
#3f2cfe
#1701F4
#1301CB
#0F01A2
#0F0575
#0A0349
Base = 500Lightest = 50 · #F2F1FEDarkest = 950 · #0A0349
:root {
  --brand-50: #F2F1FE;
  --brand-100: #E6E3FC;
  --brand-200: #C6C0FB;
  --brand-300: #998FFE;
  --brand-400: #6657FE;
  --brand-500: #3f2cfe;
  --brand-600: #1701F4;
  --brand-700: #1301CB;
  --brand-800: #0F01A2;
  --brand-900: #0F0575;
  --brand-950: #0A0349;
  --brand: #3f2cfe;
  --brand-ink: #ffffff;
}

Colors that work with #3f2cfe

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#CCAB00
Second voice, not a rival
Dark variant#0C017F
Hover, pressed, headers
Light variant#E8E6FF
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 #3f2cfe

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#EBFE2C
Analogous left#2C82FE
Analogous right#A82CFE
Split-complement 1#FEA82C
Split-complement 2#82FE2C
Triadic 1#FE3F2C
Triadic 2#2CFE3F
Tetradic#FE2C82

RGB percentages

Red24.7%
Green17.3%
Blue99.6%

CMYK percentages

Cyan75.2%
Magenta82.7%
Yellow0.0%
Key (black)0.4%

Color previews

#3f2cfe text on a black background

contrast 3.00:1

Card sample

#3f2cfe text on a white background

contrast 6.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2cfe

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.

#3f2cfe 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#3f2cfe, answered

What color is #3f2cfe?

#3f2cfe is a balanced electric blue, closest to Blue (ΔE2000 5). It sits at 245° on the hue wheel with 99% saturation and 58% lightness, which reads as cool.

What is the RGB value of #3f2cfe?

rgb(63, 44, 254) — 63 red, 44 green and 254 blue out of 255, or 24.7% / 17.3% / 99.6% by channel.

Is #3f2cfe a light or a dark color?

It is a dark color. Relative luminance is 0.1001 and perceived brightness is 39%, so white text on it reaches 6.99:1.

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

White. It scores 6.99:1 against #3f2cfe, versus 3.00:1 for black — AA at any size.

What is the complementary color of #3f2cfe?

#EBFE2C sits directly opposite on the wheel. Softer options are the split-complements #FEA82C and #82FE2C, which give the same contrast with far less vibration.

What colors go well with #3f2cfe?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #CCAB00 as an accent and #0C017F for hover and pressed states. For a palette, the analogous pair #2C82FE and #A82CFE stays calm, while #EBFE2C is the loudest partner.

What is #3f2cfe in CMYK for printing?

cmyk(75%, 83%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #3f2cfe 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 #8C2CFE; nudged cooler, #2B52FF.

Work with #3f2cfe in the Color Lab