Skip to content

#8c9fd2

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

RGB
140, 159, 210
HSL
224°, 44%, 69%
CMYK
33, 24, 0, 18
Luminance
0.3502

At a glance

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

Hex
#8c9fd2
Hue
224°
blue
Saturation
44%
soft
Lightness
69%
light
Brightness
82%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3502
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
8.00:1
Closest name
Cornflower Blue
ΔE2000 8.4
Where it sits
Hue224° of 360°
Saturation44%
Lightness69%
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#8c9fd2
RGBrgb(140, 159, 210)
HSLhsl(224, 44%, 69%)
CMYKcmyk(33%, 24%, 0%, 18%)
LABlab(65.8 5.4 -28.2)
LCHlch(65.8 28.7 280.8)
OKLCHoklch(0.707 0.078 268.6)
Decimal9215954
Display P3color(display-p3 0.549 0.624 0.824)

Copy-ready code

/* CSS */
color: #8c9fd2;
background-color: #8c9fd2;
/* Tailwind (arbitrary) */
class="text-[#8c9fd2] bg-[#8c9fd2]"
/* SCSS */
$brand: #8c9fd2;
/* SwiftUI */
Color(red: 0.549, green: 0.624, blue: 0.824)
/* Android */
Color.parseColor("#8c9fd2")
/* Flutter */
Color(0xFF8C9FD2)
/* Python / OpenCV (BGR) */
(210, 159, 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 #8c9fd2 · 8.00:1
Use #000000AAA at every size.
Aa
White text · 2.62:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #8c9fd2 as text scores 2.62:1 on white and 8.00:1 on black.

Accessibility — WCAG contrast

Aa
#8c9fd2 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#8c9fd2 on black: 8.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8FA3D4
deuteranopia · #889DD1
tritanopia · #78A9B0

Color scale — 50 to 950

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

#F5F6FA
#EAEDF5
#D1D8EB
#AEBCDF
#8c9fd2
#5E78C0
#4562B0
#395293
#2E4175
#253256
#171F36
Base = 400Lightest = 50 · #F5F6FADarkest = 950 · #171F36
:root {
  --brand-50: #F5F6FA;
  --brand-100: #EAEDF5;
  --brand-200: #D1D8EB;
  --brand-300: #AEBCDF;
  --brand-400: #8c9fd2;
  --brand-500: #5E78C0;
  --brand-600: #4562B0;
  --brand-700: #395293;
  --brand-800: #2E4175;
  --brand-900: #253256;
  --brand-950: #171F36;
  --brand: #8c9fd2;
  --brand-ink: #000000;
}

Colors that work with #8c9fd2

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#C4CEE8
Hairlines and dividers
Muted text#4B609B
Captions on the surface
Accent#966336
Second voice, not a rival
Dark variant#24335C
Hover, pressed, headers
Light variant#EDF0F8
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 #8c9fd2

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#D2BF8C
Analogous left#8CC2D2
Analogous right#9C8CD2
Split-complement 1#D29C8C
Split-complement 2#C2D28C
Triadic 1#D28C9F
Triadic 2#9FD28C
Tetradic#D28CC2

RGB percentages

Red54.9%
Green62.4%
Blue82.4%

CMYK percentages

Cyan33.3%
Magenta24.3%
Yellow0.0%
Key (black)17.6%

Color previews

#8c9fd2 text on a black background

contrast 8.00:1

Card sample

#8c9fd2 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c9fd2

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.

#8c9fd2 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

Converts to four-color process without much drama. Proof it anyway.

#8c9fd2, answered

What color is #8c9fd2?

#8c9fd2 is a light soft blue, closest to Cornflower Blue (ΔE2000 8.4). It sits at 224° on the hue wheel with 44% saturation and 69% lightness, which reads as cool.

What is the RGB value of #8c9fd2?

rgb(140, 159, 210) — 140 red, 159 green and 210 blue out of 255, or 54.9% / 62.4% / 82.4% by channel.

Is #8c9fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3502 and perceived brightness is 63%, so black text on it reaches 8.00:1.

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

Black. It scores 8.00:1 against #8c9fd2, versus 2.62:1 for white — AAA at any size.

What is the complementary color of #8c9fd2?

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

What colors go well with #8c9fd2?

For interface work: #F4F6FA as the surface, #C4CEE8 for borders, #4B609B for secondary text, #966336 as an accent and #24335C for hover and pressed states. For a palette, the analogous pair #8CC2D2 and #9C8CD2 stays calm, while #D2BF8C is the loudest partner.

What is #8c9fd2 in CMYK for printing?

cmyk(33%, 24%, 0%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8c9fd2 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 #938CD2; nudged cooler, #8AA9D4.

Work with #8c9fd2 in the Color Lab