Skip to content

#421cfd

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

RGB
66, 28, 253
HSL
250°, 98%, 55%
CMYK
74, 89, 0, 1
Luminance
0.0908

At a glance

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

Hex
#421cfd
Hue
250°
blue
Saturation
98%
electric
Lightness
55%
balanced
Brightness
99%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0908
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.46:1
Closest name
Blue
ΔE2000 3.4
Where it sits
Hue250° of 360°
Saturation98%
Lightness55%
Temperature
Warm ← → Cool78% 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#421cfd
RGBrgb(66, 28, 253)
HSLhsl(250, 98%, 55%)
CMYKcmyk(74%, 89%, 0%, 1%)
LABlab(36.1 74.6 -100.3)
LCHlch(36.1 125.0 306.6)
OKLCHoklch(0.484 0.290 274.2)
Decimal4332797
Display P3color(display-p3 0.259 0.110 0.992)

Copy-ready code

/* CSS */
color: #421cfd;
background-color: #421cfd;
/* Tailwind (arbitrary) */
class="text-[#421cfd] bg-[#421cfd]"
/* SCSS */
$brand: #421cfd;
/* SwiftUI */
Color(red: 0.259, green: 0.110, blue: 0.992)
/* Android */
Color.parseColor("#421cfd")
/* Flutter */
Color(0xFF421CFD)
/* Python / OpenCV (BGR) */
(253, 28, 66)

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

Accessibility — WCAG contrast

Aa
#421cfd on white: 7.46:1
AA ✓ pass · AA-large · AAA
Aa
#421cfd on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EFF
deuteranopia · #004BF9
tritanopia · #006D96

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #421cfd 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
#E8E3FC
#CAC1FB
#A290FE
#7458FE
#421cfd
#2B02F3
#2302CA
#1C01A2
#180675
#0F0449
Base = 500Lightest = 50 · #F3F1FDDarkest = 950 · #0F0449
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E8E3FC;
  --brand-200: #CAC1FB;
  --brand-300: #A290FE;
  --brand-400: #7458FE;
  --brand-500: #421cfd;
  --brand-600: #2B02F3;
  --brand-700: #2302CA;
  --brand-800: #1C01A2;
  --brand-900: #180675;
  --brand-950: #0F0449;
  --brand: #421cfd;
  --brand-ink: #ffffff;
}

Colors that work with #421cfd

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#C7C0ED
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#CCBB00
Second voice, not a rival
Dark variant#16017E
Hover, pressed, headers
Light variant#EAE6FF
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 #421cfd

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#D7FD1C
Analogous left#1C67FD
Analogous right#B21CFD
Split-complement 1#FDB21C
Split-complement 2#67FD1C
Triadic 1#FD421C
Triadic 2#1CFD42
Tetradic#FD1C67

RGB percentages

Red25.9%
Green11.0%
Blue99.2%

CMYK percentages

Cyan73.9%
Magenta88.9%
Yellow0.0%
Key (black)0.8%

Color previews

#421cfd text on a black background

contrast 2.82:1

Card sample

#421cfd text on a white background

contrast 7.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #421cfd;
Background color
Panel with #421cfd background
background-color: #421cfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #421cfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(66, 28, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 28, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #421cfd;
background: linear-gradient(135deg, #421cfd, #D81CFD);

Monochromatic scale

Palettes built from #421cfd

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.

#421cfd 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.

#421cfd, answered

What color is #421cfd?

#421cfd is a balanced electric blue, closest to Blue (ΔE2000 3.4). It sits at 250° on the hue wheel with 98% saturation and 55% lightness, which reads as cool.

What is the RGB value of #421cfd?

rgb(66, 28, 253) — 66 red, 28 green and 253 blue out of 255, or 25.9% / 11% / 99.2% by channel.

Is #421cfd a light or a dark color?

It is a dark color. Relative luminance is 0.0908 and perceived brightness is 37%, so white text on it reaches 7.46:1.

Should I use black or white text on #421cfd?

White. It scores 7.46:1 against #421cfd, versus 2.82:1 for black — AAA at any size.

What is the complementary color of #421cfd?

#D7FD1C sits directly opposite on the wheel. Softer options are the split-complements #FDB21C and #67FD1C, which give the same contrast with far less vibration.

What colors go well with #421cfd?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #584B9B for secondary text, #CCBB00 as an accent and #16017E for hover and pressed states. For a palette, the analogous pair #1C67FD and #B21CFD stays calm, while #D7FD1C is the loudest partner.

What is #421cfd in CMYK for printing?

cmyk(74%, 89%, 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 #421cfd warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #941CFD; nudged cooler, #1A3AFF.

Work with #421cfd in the Color Lab