Skip to content

#8ba4cd

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

RGB
139, 164, 205
HSL
217°, 40%, 68%
CMYK
32, 20, 0, 20
Luminance
0.3645

At a glance

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

Hex
#8ba4cd
Hue
217°
blue
Saturation
40%
soft
Lightness
68%
light
Brightness
80%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3645
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
8.29:1
Closest name
Cornflower Blue
ΔE2000 8.1
Where it sits
Hue217° of 360°
Saturation40%
Lightness68%
Temperature
Warm ← → Cool96% 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#8ba4cd
RGBrgb(139, 164, 205)
HSLhsl(217, 40%, 68%)
CMYKcmyk(32%, 20%, 0%, 20%)
LABlab(66.9 1.0 -23.7)
LCHlch(66.9 23.8 272.5)
OKLCHoklch(0.715 0.066 260.2)
Decimal9151693
Display P3color(display-p3 0.545 0.643 0.804)

Copy-ready code

/* CSS */
color: #8ba4cd;
background-color: #8ba4cd;
/* Tailwind (arbitrary) */
class="text-[#8ba4cd] bg-[#8ba4cd]"
/* SCSS */
$brand: #8ba4cd;
/* SwiftUI */
Color(red: 0.545, green: 0.643, blue: 0.804)
/* Android */
Color.parseColor("#8ba4cd")
/* Flutter */
Color(0xFF8BA4CD)
/* Python / OpenCV (BGR) */
(205, 164, 139)

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 #8ba4cd · 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: #8ba4cd as text scores 2.53:1 on white and 8.29:1 on black.

Accessibility — WCAG contrast

Aa
#8ba4cd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#8ba4cd on black: 8.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #96A6CF
deuteranopia · #8FA0CC
tritanopia · #78ADB2

Color scale — 50 to 950

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

#F5F7FA
#EBEFF4
#D2DBE9
#B1C1DD
#8ba4cd
#6284BB
#4A6FAB
#3D5C8F
#314A72
#273854
#182334
Base = 400Lightest = 50 · #F5F7FADarkest = 950 · #182334
:root {
  --brand-50: #F5F7FA;
  --brand-100: #EBEFF4;
  --brand-200: #D2DBE9;
  --brand-300: #B1C1DD;
  --brand-400: #8ba4cd;
  --brand-500: #6284BB;
  --brand-600: #4A6FAB;
  --brand-700: #3D5C8F;
  --brand-800: #314A72;
  --brand-900: #273854;
  --brand-950: #182334;
  --brand: #8ba4cd;
  --brand-ink: #000000;
}

Colors that work with #8ba4cd

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#F4F7FA
Tinted page background
Border#C6D2E6
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#925B3A
Second voice, not a rival
Dark variant#263A59
Hover, pressed, headers
Light variant#EDF1F7
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 #8ba4cd

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#CDB48B
Analogous left#8BC5CD
Analogous right#938BCD
Split-complement 1#CD938B
Split-complement 2#C5CD8B
Triadic 1#CD8BA4
Triadic 2#A4CD8B
Tetradic#CD8BC5

RGB percentages

Red54.5%
Green64.3%
Blue80.4%

CMYK percentages

Cyan32.2%
Magenta20.0%
Yellow0.0%
Key (black)19.6%

Color previews

#8ba4cd text on a black background

contrast 8.29:1

Card sample

#8ba4cd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 164, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 164, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ba4cd;
background: linear-gradient(135deg, #8ba4cd, #9E8BCD);

Monochromatic scale

Palettes built from #8ba4cd

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.

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

#8ba4cd, answered

What color is #8ba4cd?

#8ba4cd is a light soft blue, closest to Cornflower Blue (ΔE2000 8.1). It sits at 217° on the hue wheel with 40% saturation and 68% lightness, which reads as cool.

What is the RGB value of #8ba4cd?

rgb(139, 164, 205) — 139 red, 164 green and 205 blue out of 255, or 54.5% / 64.3% / 80.4% by channel.

Is #8ba4cd a light or a dark color?

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

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

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

What is the complementary color of #8ba4cd?

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

What colors go well with #8ba4cd?

For interface work: #F4F7FA as the surface, #C6D2E6 for borders, #4B699B for secondary text, #925B3A as an accent and #263A59 for hover and pressed states. For a palette, the analogous pair #8BC5CD and #938BCD stays calm, while #CDB48B is the loudest partner.

What is #8ba4cd in CMYK for printing?

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

Is #8ba4cd warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8B8CCD; nudged cooler, #779BC7.

Work with #8ba4cd in the Color Lab