Skip to content

#3b0dfe

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

RGB
59, 13, 254
HSL
252°, 99%, 52%
CMYK
77, 95, 0, 0
Luminance
0.0837

At a glance

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

Hex
#3b0dfe
Hue
252°
blue
Saturation
99%
electric
Lightness
52%
balanced
Brightness
100%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0837
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.85:1
Closest name
Blue
ΔE2000 2.3
Where it sits
Hue252° of 360°
Saturation99%
Lightness52%
Temperature
Warm ← → Cool77% 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#3b0dfe
RGBrgb(59, 13, 254)
HSLhsl(252, 99%, 52%)
CMYKcmyk(77%, 95%, 0%, 0%)
LABlab(34.7 77.8 -103.2)
LCHlch(34.7 129.2 307.0)
OKLCHoklch(0.473 0.298 272.5)
Decimal3870206
Display P3color(display-p3 0.231 0.051 0.996)

Copy-ready code

/* CSS */
color: #3b0dfe;
background-color: #3b0dfe;
/* Tailwind (arbitrary) */
class="text-[#3b0dfe] bg-[#3b0dfe]"
/* SCSS */
$brand: #3b0dfe;
/* SwiftUI */
Color(red: 0.231, green: 0.051, blue: 0.996)
/* Android */
Color.parseColor("#3b0dfe")
/* Flutter */
Color(0xFF3B0DFE)
/* Python / OpenCV (BGR) */
(254, 13, 59)

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

Accessibility — WCAG contrast

Aa
#3b0dfe on white: 7.85:1
AA ✓ pass · AA-large · AAA
Aa
#3b0dfe on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CFF
deuteranopia · #0046FA
tritanopia · #006B96

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3b0dfe 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
#CCC0FB
#A58FFF
#7757FE
#3b0dfe
#3001F4
#2801CB
#2001A3
#1B0575
#110349
Base = 500Lightest = 50 · #F4F1FEDarkest = 950 · #110349
:root {
  --brand-50: #F4F1FE;
  --brand-100: #E8E3FC;
  --brand-200: #CCC0FB;
  --brand-300: #A58FFF;
  --brand-400: #7757FE;
  --brand-500: #3b0dfe;
  --brand-600: #3001F4;
  --brand-700: #2801CB;
  --brand-800: #2001A3;
  --brand-900: #1B0575;
  --brand-950: #110349;
  --brand: #3b0dfe;
  --brand-ink: #ffffff;
}

Colors that work with #3b0dfe

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#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#CCC000
Second voice, not a rival
Dark variant#19017F
Hover, pressed, headers
Light variant#EAE6FF
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 #3b0dfe

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#D0FE0D
Analogous left#0D57FE
Analogous right#B40DFE
Split-complement 1#FEB40D
Split-complement 2#57FE0D
Triadic 1#FE3B0D
Triadic 2#0DFE3B
Tetradic#FE0D57

RGB percentages

Red23.1%
Green5.1%
Blue99.6%

CMYK percentages

Cyan76.8%
Magenta94.9%
Yellow0.0%
Key (black)0.4%

Color previews

#3b0dfe text on a black background

contrast 2.67:1

Card sample

#3b0dfe text on a white background

contrast 7.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3b0dfe

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.

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

#3b0dfe, answered

What color is #3b0dfe?

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

What is the RGB value of #3b0dfe?

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

Is #3b0dfe a light or a dark color?

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

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

White. It scores 7.85:1 against #3b0dfe, versus 2.67:1 for black — AAA at any size.

What is the complementary color of #3b0dfe?

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

What colors go well with #3b0dfe?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #CCC000 as an accent and #19017F for hover and pressed states. For a palette, the analogous pair #0D57FE and #B40DFE stays calm, while #D0FE0D is the loudest partner.

What is #3b0dfe in CMYK for printing?

cmyk(77%, 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 #3b0dfe warm or cool?

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

Work with #3b0dfe in the Color Lab