Skip to content

#84a5fd

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

RGB
132, 165, 253
HSL
224°, 97%, 76%
CMYK
48, 35, 0, 1
Luminance
0.3891

At a glance

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

Hex
#84a5fd
Hue
224°
blue
Saturation
97%
electric
Lightness
76%
light
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3891
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.78:1
Closest name
Cornflower Blue
ΔE2000 6.1
Where it sits
Hue224° of 360°
Saturation97%
Lightness76%
Temperature
Warm ← → Cool92% 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#84a5fd
RGBrgb(132, 165, 253)
HSLhsl(224, 97%, 76%)
CMYKcmyk(48%, 35%, 0%, 1%)
LABlab(68.7 11.8 -47.3)
LCHlch(68.7 48.7 284.1)
OKLCHoklch(0.734 0.133 267.5)
Decimal8693245
Display P3color(display-p3 0.518 0.647 0.992)

Copy-ready code

/* CSS */
color: #84a5fd;
background-color: #84a5fd;
/* Tailwind (arbitrary) */
class="text-[#84a5fd] bg-[#84a5fd]"
/* SCSS */
$brand: #84a5fd;
/* SwiftUI */
Color(red: 0.518, green: 0.647, blue: 0.992)
/* Android */
Color.parseColor("#84a5fd")
/* Flutter */
Color(0xFF84A5FD)
/* Python / OpenCV (BGR) */
(253, 165, 132)

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

Accessibility — WCAG contrast

Aa
#84a5fd on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#84a5fd on black: 8.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #84ADFF
deuteranopia · #77A3FB
tritanopia · #52B8C5

Color scale — 50 to 950

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

#F1F5FD
#E4EAFC
#C1D1FB
#84a5fd
#5986FC
#225EFB
#0445F1
#0339C9
#032EA1
#072474
#041748
Base = 300Lightest = 50 · #F1F5FDDarkest = 950 · #041748
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E4EAFC;
  --brand-200: #C1D1FB;
  --brand-300: #84a5fd;
  --brand-400: #5986FC;
  --brand-500: #225EFB;
  --brand-600: #0445F1;
  --brand-700: #0339C9;
  --brand-800: #032EA1;
  --brand-900: #072474;
  --brand-950: #041748;
  --brand: #84a5fd;
  --brand-ink: #000000;
}

Colors that work with #84a5fd

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#C0CCED
Hairlines and dividers
Muted text#4B619B
Captions on the surface
Accent#CC6200
Second voice, not a rival
Dark variant#02247D
Hover, pressed, headers
Light variant#E6EDFF
Selected rows, tints
Dark surface#141824
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 #84a5fd

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#FDDC84
Analogous left#84E2FD
Analogous right#9F84FD
Split-complement 1#FD9F84
Split-complement 2#E2FD84
Triadic 1#FD84A5
Triadic 2#A5FD84
Tetradic#FD84E2

RGB percentages

Red51.8%
Green64.7%
Blue99.2%

CMYK percentages

Cyan47.8%
Magenta34.8%
Yellow0.0%
Key (black)0.8%

Color previews

#84a5fd text on a black background

contrast 8.78:1

Card sample

#84a5fd text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #84a5fd;
Background color
Panel with #84a5fd background
background-color: #84a5fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #84a5fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(132, 165, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(132, 165, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #84a5fd;
background: linear-gradient(135deg, #84a5fd, #B484FD);

Monochromatic scale

Palettes built from #84a5fd

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.

#84a5fd 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.

#84a5fd, answered

What color is #84a5fd?

#84a5fd is a light electric blue, closest to Cornflower Blue (ΔE2000 6.1). It sits at 224° on the hue wheel with 97% saturation and 76% lightness, which reads as cool.

What is the RGB value of #84a5fd?

rgb(132, 165, 253) — 132 red, 165 green and 253 blue out of 255, or 51.8% / 64.7% / 99.2% by channel.

Is #84a5fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3891 and perceived brightness is 66%, so black text on it reaches 8.78:1.

Should I use black or white text on #84a5fd?

Black. It scores 8.78:1 against #84a5fd, versus 2.39:1 for white — AAA at any size.

What is the complementary color of #84a5fd?

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

What colors go well with #84a5fd?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B619B for secondary text, #CC6200 as an accent and #02247D for hover and pressed states. For a palette, the analogous pair #84E2FD and #9F84FD stays calm, while #FDDC84 is the loudest partner.

What is #84a5fd in CMYK for printing?

cmyk(48%, 35%, 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 #84a5fd warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8F84FD; nudged cooler, #83B4FE.

Work with #84a5fd in the Color Lab