Skip to content

#8c9bfd

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

RGB
140, 155, 253
HSL
232°, 97%, 77%
CMYK
45, 39, 0, 1
Luminance
0.3611

At a glance

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

Hex
#8c9bfd
Hue
232°
blue
Saturation
97%
electric
Lightness
77%
light
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3611
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.22:1
Closest name
Cornflower Blue
ΔE2000 7.5
Where it sits
Hue232° of 360°
Saturation97%
Lightness77%
Temperature
Warm ← → Cool88% 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#8c9bfd
RGBrgb(140, 155, 253)
HSLhsl(232, 97%, 77%)
CMYKcmyk(45%, 39%, 0%, 1%)
LABlab(66.6 19.5 -50.5)
LCHlch(66.6 54.1 291.1)
OKLCHoklch(0.719 0.143 275.6)
Decimal9214973
Display P3color(display-p3 0.549 0.608 0.992)

Copy-ready code

/* CSS */
color: #8c9bfd;
background-color: #8c9bfd;
/* Tailwind (arbitrary) */
class="text-[#8c9bfd] bg-[#8c9bfd]"
/* SCSS */
$brand: #8c9bfd;
/* SwiftUI */
Color(red: 0.549, green: 0.608, blue: 0.992)
/* Android */
Color.parseColor("#8c9bfd")
/* Flutter */
Color(0xFF8C9BFD)
/* Python / OpenCV (BGR) */
(253, 155, 140)

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

Accessibility — WCAG contrast

Aa
#8c9bfd on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#8c9bfd on black: 8.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #77A7FF
deuteranopia · #6E9EFB
tritanopia · #64AFC0

Color scale — 50 to 950

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

#F1F3FD
#E4E7FC
#C1C9FB
#8c9bfd
#5A6FFC
#223FFB
#0424F1
#031EC9
#0318A0
#071574
#040D48
Base = 300Lightest = 50 · #F1F3FDDarkest = 950 · #040D48
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E4E7FC;
  --brand-200: #C1C9FB;
  --brand-300: #8c9bfd;
  --brand-400: #5A6FFC;
  --brand-500: #223FFB;
  --brand-600: #0424F1;
  --brand-700: #031EC9;
  --brand-800: #0318A0;
  --brand-900: #071574;
  --brand-950: #040D48;
  --brand: #8c9bfd;
  --brand-ink: #000000;
}

Colors that work with #8c9bfd

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#F4F5FA
Tinted page background
Border#C0C6ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#CC7D00
Second voice, not a rival
Dark variant#02137D
Hover, pressed, headers
Light variant#E6E9FF
Selected rows, tints
Dark surface#141624
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 #8c9bfd

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#FDEE8C
Analogous left#8CD4FD
Analogous right#B68CFD
Split-complement 1#FDB68C
Split-complement 2#D4FD8C
Triadic 1#FD8C9B
Triadic 2#9BFD8C
Tetradic#FD8CD4

RGB percentages

Red54.9%
Green60.8%
Blue99.2%

CMYK percentages

Cyan44.7%
Magenta38.7%
Yellow0.0%
Key (black)0.8%

Color previews

#8c9bfd text on a black background

contrast 8.22:1

Card sample

#8c9bfd text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8c9bfd;
Background color
Panel with #8c9bfd background
background-color: #8c9bfd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 155, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 155, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c9bfd;
background: linear-gradient(135deg, #8c9bfd, #C88CFD);

Monochromatic scale

Palettes built from #8c9bfd

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.

#8c9bfd 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.

#8c9bfd, answered

What color is #8c9bfd?

#8c9bfd is a light electric blue, closest to Cornflower Blue (ΔE2000 7.5). It sits at 232° on the hue wheel with 97% saturation and 77% lightness, which reads as cool.

What is the RGB value of #8c9bfd?

rgb(140, 155, 253) — 140 red, 155 green and 253 blue out of 255, or 54.9% / 60.8% / 99.2% by channel.

Is #8c9bfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3611 and perceived brightness is 65%, so black text on it reaches 8.22:1.

Should I use black or white text on #8c9bfd?

Black. It scores 8.22:1 against #8c9bfd, versus 2.55:1 for white — AAA at any size.

What is the complementary color of #8c9bfd?

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

What colors go well with #8c9bfd?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B559B for secondary text, #CC7D00 as an accent and #02137D for hover and pressed states. For a palette, the analogous pair #8CD4FD and #B68CFD stays calm, while #FDEE8C is the loudest partner.

What is #8c9bfd in CMYK for printing?

cmyk(45%, 39%, 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 #8c9bfd warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A78CFD; nudged cooler, #8BB3FE.

Work with #8c9bfd in the Color Lab