Skip to content

#3f0dfe

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

RGB
63, 13, 254
HSL
252°, 99%, 52%
CMYK
75, 95, 0, 0
Luminance
0.0850

At a glance

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

Hex
#3f0dfe
Hue
252°
blue
Saturation
99%
electric
Lightness
52%
balanced
Brightness
100%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0850
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.78:1
Closest name
Blue
ΔE2000 2.5
Where it sits
Hue252° of 360°
Saturation99%
Lightness52%
Temperature
Warm ← → Cool76% 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#3f0dfe
RGBrgb(63, 13, 254)
HSLhsl(252, 99%, 52%)
CMYKcmyk(75%, 95%, 0%, 0%)
LABlab(35.0 78.0 -102.7)
LCHlch(35.0 129.0 307.2)
OKLCHoklch(0.476 0.297 273.5)
Decimal4132350
Display P3color(display-p3 0.247 0.051 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f0dfe on white: 7.78:1
AA ✓ pass · AA-large · AAA
Aa
#3f0dfe on black: 2.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CFF
deuteranopia · #0047FA
tritanopia · #006B96

Color scale — 50 to 950

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

#F4F1FE
#E8E3FC
#CDC0FB
#A68FFF
#7A57FE
#3f0dfe
#3301F4
#2B01CB
#2201A3
#1C0575
#120349
Base = 500Lightest = 50 · #F4F1FEDarkest = 950 · #120349
:root {
  --brand-50: #F4F1FE;
  --brand-100: #E8E3FC;
  --brand-200: #CDC0FB;
  --brand-300: #A68FFF;
  --brand-400: #7A57FE;
  --brand-500: #3f0dfe;
  --brand-600: #3301F4;
  --brand-700: #2B01CB;
  --brand-800: #2201A3;
  --brand-900: #1C0575;
  --brand-950: #120349;
  --brand: #3f0dfe;
  --brand-ink: #ffffff;
}

Colors that work with #3f0dfe

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#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#CCC300
Second voice, not a rival
Dark variant#1B017F
Hover, pressed, headers
Light variant#EBE6FF
Selected rows, tints
Dark surface#171424
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 #3f0dfe

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#CCFE0D
Analogous left#0D54FE
Analogous right#B70DFE
Split-complement 1#FEB70D
Split-complement 2#54FE0D
Triadic 1#FE3F0D
Triadic 2#0DFE3F
Tetradic#FE0D54

RGB percentages

Red24.7%
Green5.1%
Blue99.6%

CMYK percentages

Cyan75.2%
Magenta94.9%
Yellow0.0%
Key (black)0.4%

Color previews

#3f0dfe text on a black background

contrast 2.70:1

Card sample

#3f0dfe text on a white background

contrast 7.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f0dfe

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.

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

#3f0dfe, answered

What color is #3f0dfe?

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

What is the RGB value of #3f0dfe?

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

Is #3f0dfe a light or a dark color?

It is a dark color. Relative luminance is 0.0850 and perceived brightness is 36%, so white text on it reaches 7.78:1.

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

White. It scores 7.78:1 against #3f0dfe, versus 2.70:1 for black — AAA at any size.

What is the complementary color of #3f0dfe?

#CCFE0D sits directly opposite on the wheel. Softer options are the split-complements #FEB70D and #54FE0D, which give the same contrast with far less vibration.

What colors go well with #3f0dfe?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #CCC300 as an accent and #1B017F for hover and pressed states. For a palette, the analogous pair #0D54FE and #B70DFE stays calm, while #CCFE0D is the loudest partner.

What is #3f0dfe in CMYK for printing?

cmyk(75%, 95%, 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 #3f0dfe warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #970DFE; nudged cooler, #0C26FF.

Work with #3f0dfe in the Color Lab