Skip to content

#3f2bfd

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

RGB
63, 43, 253
HSL
246°, 98%, 58%
CMYK
75, 83, 0, 1
Luminance
0.0988

At a glance

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

Hex
#3f2bfd
Hue
246°
blue
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0988
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.06:1
Closest name
Blue
ΔE2000 4.8
Where it sits
Hue246° of 360°
Saturation98%
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#3f2bfd
RGBrgb(63, 43, 253)
HSLhsl(246, 98%, 58%)
CMYKcmyk(75%, 83%, 0%, 1%)
LABlab(37.6 69.4 -97.8)
LCHlch(37.6 119.9 305.4)
OKLCHoklch(0.493 0.283 272.9)
Decimal4140029
Display P3color(display-p3 0.247 0.169 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2bfd on white: 7.06:1
AA ✓ pass · AA-large · AAA
Aa
#3f2bfd on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062FF
deuteranopia · #004EFA
tritanopia · #007098

Color scale — 50 to 950

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

#F2F1FD
#E6E3FC
#C6C1FB
#9A90FE
#6858FD
#3f2bfd
#1902F2
#1502CA
#1102A2
#100674
#0A0449
Base = 500Lightest = 50 · #F2F1FDDarkest = 950 · #0A0449
:root {
  --brand-50: #F2F1FD;
  --brand-100: #E6E3FC;
  --brand-200: #C6C1FB;
  --brand-300: #9A90FE;
  --brand-400: #6858FD;
  --brand-500: #3f2bfd;
  --brand-600: #1902F2;
  --brand-700: #1502CA;
  --brand-800: #1102A2;
  --brand-900: #100674;
  --brand-950: #0A0449;
  --brand: #3f2bfd;
  --brand-ink: #ffffff;
}

Colors that work with #3f2bfd

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#CCAC00
Second voice, not a rival
Dark variant#0D017E
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 #3f2bfd

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#E9FD2B
Analogous left#2B80FD
Analogous right#A82BFD
Split-complement 1#FDA82B
Split-complement 2#80FD2B
Triadic 1#FD3F2B
Triadic 2#2BFD3F
Tetradic#FD2B80

RGB percentages

Red24.7%
Green16.9%
Blue99.2%

CMYK percentages

Cyan75.1%
Magenta83.0%
Yellow0.0%
Key (black)0.8%

Color previews

#3f2bfd text on a black background

contrast 2.98:1

Card sample

#3f2bfd text on a white background

contrast 7.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2bfd

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.

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

#3f2bfd, answered

What color is #3f2bfd?

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

What is the RGB value of #3f2bfd?

rgb(63, 43, 253) — 63 red, 43 green and 253 blue out of 255, or 24.7% / 16.9% / 99.2% by channel.

Is #3f2bfd a light or a dark color?

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

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

White. It scores 7.06:1 against #3f2bfd, versus 2.98:1 for black — AAA at any size.

What is the complementary color of #3f2bfd?

#E9FD2B sits directly opposite on the wheel. Softer options are the split-complements #FDA82B and #80FD2B, which give the same contrast with far less vibration.

What colors go well with #3f2bfd?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #CCAC00 as an accent and #0D017E for hover and pressed states. For a palette, the analogous pair #2B80FD and #A82BFD stays calm, while #E9FD2B is the loudest partner.

What is #3f2bfd in CMYK for printing?

cmyk(75%, 83%, 0%, 1%). 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 #3f2bfd 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 #8C2BFD; nudged cooler, #2950FF.

Work with #3f2bfd in the Color Lab