Skip to content

#87afdb

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

RGB
135, 175, 219
HSL
211°, 54%, 69%
CMYK
38, 20, 0, 14
Luminance
0.4093

At a glance

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

Hex
#87afdb
Hue
211°
blue
Saturation
54%
vivid
Lightness
69%
light
Brightness
86%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4093
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
9.19:1
Closest name
Cornflower Blue
ΔE2000 8.1
Where it sits
Hue211° of 360°
Saturation54%
Lightness69%
Temperature
Warm ← → Cool99% 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#87afdb
RGBrgb(135, 175, 219)
HSLhsl(211, 54%, 69%)
CMYKcmyk(38%, 20%, 0%, 14%)
LABlab(70.1 -2.5 -26.5)
LCHlch(70.1 26.6 264.5)
OKLCHoklch(0.741 0.077 251.3)
Decimal8892379
Display P3color(display-p3 0.529 0.686 0.859)

Copy-ready code

/* CSS */
color: #87afdb;
background-color: #87afdb;
/* Tailwind (arbitrary) */
class="text-[#87afdb] bg-[#87afdb]"
/* SCSS */
$brand: #87afdb;
/* SwiftUI */
Color(red: 0.529, green: 0.686, blue: 0.859)
/* Android */
Color.parseColor("#87afdb")
/* Flutter */
Color(0xFF87AFDB)
/* Python / OpenCV (BGR) */
(219, 175, 135)

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

Accessibility — WCAG contrast

Aa
#87afdb on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#87afdb on black: 9.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9EB0DD
deuteranopia · #94A8DA
tritanopia · #6AB9BE

Color scale — 50 to 950

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

#F4F7FB
#E9EFF6
#CEDDEE
#A9C5E5
#87afdb
#528CCB
#3977BC
#2F639D
#26507E
#1F3C5B
#132539
Base = 400Lightest = 50 · #F4F7FBDarkest = 950 · #132539
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E9EFF6;
  --brand-200: #CEDDEE;
  --brand-300: #A9C5E5;
  --brand-400: #87afdb;
  --brand-500: #528CCB;
  --brand-600: #3977BC;
  --brand-700: #2F639D;
  --brand-800: #26507E;
  --brand-900: #1F3C5B;
  --brand-950: #132539;
  --brand: #87afdb;
  --brand-ink: #000000;
}

Colors that work with #87afdb

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#C0D5EC
Hairlines and dividers
Muted text#4B719B
Captions on the surface
Accent#A14C2B
Second voice, not a rival
Dark variant#1D3E62
Hover, pressed, headers
Light variant#EBF2F9
Selected rows, tints
Dark surface#141C24
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 #87afdb

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#DBB387
Analogous left#87D9DB
Analogous right#8987DB
Split-complement 1#DB8987
Split-complement 2#D9DB87
Triadic 1#DB87AF
Triadic 2#AFDB87
Tetradic#DB87D9

RGB percentages

Red52.9%
Green68.6%
Blue85.9%

CMYK percentages

Cyan38.4%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#87afdb text on a black background

contrast 9.19:1

Card sample

#87afdb text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #87afdb;
Background color
Panel with #87afdb background
background-color: #87afdb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(135, 175, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 175, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #87afdb;
background: linear-gradient(135deg, #87afdb, #9787DB);

Monochromatic scale

Palettes built from #87afdb

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.

#87afdb 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.

#87afdb, answered

What color is #87afdb?

#87afdb is a light vivid blue, closest to Cornflower Blue (ΔE2000 8.1). It sits at 211° on the hue wheel with 54% saturation and 69% lightness, which reads as cool.

What is the RGB value of #87afdb?

rgb(135, 175, 219) — 135 red, 175 green and 219 blue out of 255, or 52.9% / 68.6% / 85.9% by channel.

Is #87afdb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4093 and perceived brightness is 67%, so black text on it reaches 9.19:1.

Should I use black or white text on #87afdb?

Black. It scores 9.19:1 against #87afdb, versus 2.29:1 for white — AAA at any size.

What is the complementary color of #87afdb?

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

What colors go well with #87afdb?

For interface work: #F4F7FA as the surface, #C0D5EC for borders, #4B719B for secondary text, #A14C2B as an accent and #1D3E62 for hover and pressed states. For a palette, the analogous pair #87D9DB and #8987DB stays calm, while #DBB387 is the loudest partner.

What is #87afdb in CMYK for printing?

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

Is #87afdb warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8790DB; nudged cooler, #72A2D7.

Work with #87afdb in the Color Lab