Skip to content

#3211fd

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

RGB
50, 17, 253
HSL
248°, 98%, 53%
CMYK
80, 93, 0, 1
Luminance
0.0817

At a glance

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

Hex
#3211fd
Hue
248°
blue
Saturation
98%
electric
Lightness
53%
balanced
Brightness
99%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0817
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.97:1
Closest name
Blue
ΔE2000 1.8
Where it sits
Hue248° of 360°
Saturation98%
Lightness53%
Temperature
Warm ← → Cool79% 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#3211fd
RGBrgb(50, 17, 253)
HSLhsl(248, 98%, 53%)
CMYKcmyk(80%, 93%, 0%, 1%)
LABlab(34.3 76.6 -103.3)
LCHlch(34.3 128.6 306.6)
OKLCHoklch(0.469 0.298 270.5)
Decimal3281405
Display P3color(display-p3 0.196 0.067 0.992)

Copy-ready code

/* CSS */
color: #3211fd;
background-color: #3211fd;
/* Tailwind (arbitrary) */
class="text-[#3211fd] bg-[#3211fd]"
/* SCSS */
$brand: #3211fd;
/* SwiftUI */
Color(red: 0.196, green: 0.067, blue: 0.992)
/* Android */
Color.parseColor("#3211fd")
/* Flutter */
Color(0xFF3211FD)
/* Python / OpenCV (BGR) */
(253, 17, 50)

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

Accessibility — WCAG contrast

Aa
#3211fd on white: 7.97:1
AA ✓ pass · AA-large · AAA
Aa
#3211fd on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BFF
deuteranopia · #0045F9
tritanopia · #006B95

Color scale — 50 to 950

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

#F3F1FD
#E7E3FC
#C9C1FB
#9F90FE
#6F58FE
#3211fd
#2402F3
#1E02CA
#1801A2
#150675
#0D0449
Base = 500Lightest = 50 · #F3F1FDDarkest = 950 · #0D0449
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E7E3FC;
  --brand-200: #C9C1FB;
  --brand-300: #9F90FE;
  --brand-400: #6F58FE;
  --brand-500: #3211fd;
  --brand-600: #2402F3;
  --brand-700: #1E02CA;
  --brand-800: #1801A2;
  --brand-900: #150675;
  --brand-950: #0D0449;
  --brand: #3211fd;
  --brand-ink: #ffffff;
}

Colors that work with #3211fd

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#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#CCB600
Second voice, not a rival
Dark variant#13017E
Hover, pressed, headers
Light variant#E9E6FF
Selected rows, tints
Dark surface#161424
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 #3211fd

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#DCFD11
Analogous left#1166FD
Analogous right#A811FD
Split-complement 1#FDA811
Split-complement 2#66FD11
Triadic 1#FD3211
Triadic 2#11FD32
Tetradic#FD1166

RGB percentages

Red19.6%
Green6.7%
Blue99.2%

CMYK percentages

Cyan80.2%
Magenta93.3%
Yellow0.0%
Key (black)0.8%

Color previews

#3211fd text on a black background

contrast 2.63:1

Card sample

#3211fd text on a white background

contrast 7.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3211fd;
Background color
Panel with #3211fd background
background-color: #3211fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3211fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(50, 17, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 17, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3211fd;
background: linear-gradient(135deg, #3211fd, #CF11FD);

Monochromatic scale

Palettes built from #3211fd

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.

#3211fd 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.

#3211fd, answered

What color is #3211fd?

#3211fd is a balanced electric blue, closest to Blue (ΔE2000 1.8). It sits at 248° on the hue wheel with 98% saturation and 53% lightness, which reads as cool.

What is the RGB value of #3211fd?

rgb(50, 17, 253) — 50 red, 17 green and 253 blue out of 255, or 19.6% / 6.7% / 99.2% by channel.

Is #3211fd a light or a dark color?

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

Should I use black or white text on #3211fd?

White. It scores 7.97:1 against #3211fd, versus 2.63:1 for black — AAA at any size.

What is the complementary color of #3211fd?

#DCFD11 sits directly opposite on the wheel. Softer options are the split-complements #FDA811 and #66FD11, which give the same contrast with far less vibration.

What colors go well with #3211fd?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #CCB600 as an accent and #13017E for hover and pressed states. For a palette, the analogous pair #1166FD and #A811FD stays calm, while #DCFD11 is the loudest partner.

What is #3211fd in CMYK for printing?

cmyk(80%, 93%, 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 #3211fd warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8811FD; nudged cooler, #0F32FF.

Work with #3211fd in the Color Lab