Skip to content

#71a2fd

a light, electric blue · cool · closest name: Cornflower Blue

RGB
113, 162, 253
HSL
219°, 97%, 72%
CMYK
55, 36, 0, 1
Luminance
0.3644

At a glance

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

Hex
#71a2fd
Hue
219°
blue
Saturation
97%
electric
Lightness
72%
light
Brightness
99%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3644
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.29:1
Closest name
Cornflower Blue
ΔE2000 4.1
Where it sits
Hue219° of 360°
Saturation97%
Lightness72%
Temperature
Warm ← → Cool95% 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#71a2fd
RGBrgb(113, 162, 253)
HSLhsl(219, 97%, 72%)
CMYKcmyk(55%, 36%, 0%, 1%)
LABlab(66.8 9.4 -50.2)
LCHlch(66.8 51.1 280.6)
OKLCHoklch(0.717 0.143 261.9)
Decimal7447293
Display P3color(display-p3 0.443 0.635 0.992)

Copy-ready code

/* CSS */
color: #71a2fd;
background-color: #71a2fd;
/* Tailwind (arbitrary) */
class="text-[#71a2fd] bg-[#71a2fd]"
/* SCSS */
$brand: #71a2fd;
/* SwiftUI */
Color(red: 0.443, green: 0.635, blue: 0.992)
/* Android */
Color.parseColor("#71a2fd")
/* Flutter */
Color(0xFF71A2FD)
/* Python / OpenCV (BGR) */
(253, 162, 113)

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#000000 on #71a2fd · 8.29:1
Use #000000AAA at every size.
Aa
White text · 2.53:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.29:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #71a2fd as text scores 2.53:1 on white and 8.29:1 on black.

Accessibility — WCAG contrast

Aa
#71a2fd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#71a2fd on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7DAAFF
deuteranopia · #6B9DFB
tritanopia · #0DB6C4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #71a2fd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F6FD
#E4ECFC
#C1D5FB
#90B7FD
#71a2fd
#226EFC
#0357F1
#0348C9
#023AA1
#062D74
#041C48
Base = 400Lightest = 50 · #F1F6FDDarkest = 950 · #041C48
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E4ECFC;
  --brand-200: #C1D5FB;
  --brand-300: #90B7FD;
  --brand-400: #71a2fd;
  --brand-500: #226EFC;
  --brand-600: #0357F1;
  --brand-700: #0348C9;
  --brand-800: #023AA1;
  --brand-900: #062D74;
  --brand-950: #041C48;
  --brand: #71a2fd;
  --brand-ink: #000000;
}

Colors that work with #71a2fd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0CFED
Hairlines and dividers
Muted text#4B679B
Captions on the surface
Accent#CC5200
Second voice, not a rival
Dark variant#022D7E
Hover, pressed, headers
Light variant#E6EFFF
Selected rows, tints
Dark surface#141A24
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 #71a2fd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#FDCC71
Analogous left#71E8FD
Analogous right#8671FD
Split-complement 1#FD8671
Split-complement 2#E8FD71
Triadic 1#FD71A2
Triadic 2#A2FD71
Tetradic#FD71E8

RGB percentages

Red44.3%
Green63.5%
Blue99.2%

CMYK percentages

Cyan55.3%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#71a2fd text on a black background

contrast 8.29:1

Card sample

#71a2fd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #71a2fd;
Background color
Panel with #71a2fd background
background-color: #71a2fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #71a2fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(113, 162, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(113, 162, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #71a2fd;
background: linear-gradient(135deg, #71a2fd, #9D71FD);

Monochromatic scale

Palettes built from #71a2fd

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.

#71a2fd 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#71a2fd, answered

What color is #71a2fd?

#71a2fd is a light electric blue, closest to Cornflower Blue (ΔE2000 4.1). It sits at 219° on the hue wheel with 97% saturation and 72% lightness, which reads as cool.

What is the RGB value of #71a2fd?

rgb(113, 162, 253) — 113 red, 162 green and 253 blue out of 255, or 44.3% / 63.5% / 99.2% by channel.

Is #71a2fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3644 and perceived brightness is 64%, so black text on it reaches 8.29:1.

Should I use black or white text on #71a2fd?

Black. It scores 8.29:1 against #71a2fd, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #71a2fd?

#FDCC71 sits directly opposite on the wheel. Softer options are the split-complements #FD8671 and #E8FD71, which give the same contrast with far less vibration.

What colors go well with #71a2fd?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B679B for secondary text, #CC5200 as an accent and #022D7E for hover and pressed states. For a palette, the analogous pair #71E8FD and #8671FD stays calm, while #FDCC71 is the loudest partner.

What is #71a2fd in CMYK for printing?

cmyk(55%, 36%, 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 #71a2fd warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7471FD; nudged cooler, #569DFE.

Work with #71a2fd in the Color Lab