#87A2CD#87A2CD

#87A2CD is a light, moderate blue. Relative luminance 0.354; OKLCH L 70.8% C 0.070 H 259.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#87A2CD
RGBrgb(135, 162, 205)
HSLhsl(217, 41%, 67%)
HSVhsv(217, 34%, 80%)
CMYKcmyk(34.1%, 21%, 0%, 19.6%)
CIE-LABlab(66.06, 0.99, -24.99)
CIE-LCHlch(66.06, 25.01, 272.27°)
OKLaboklab(70.75% -0.0127 -0.069)
OKLCHoklch(70.75% 0.07 259.6)
XYZxyz(33.9281, 35.3978, 62.7906)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2CD #CDB287
analogous
#87C5CD #87A2CD #8F87CD
triadic
#87A2CD #CD87A2 #A2CD87
tetradic
#87A2CD #CD87C5 #CDB287 #87CD8F
square
#87A2CD #CD87C5 #CDB287 #87CD8F
split-complementary
#87A2CD #CD8F87 #C5CD87
monochromatic
#40639A #5C81BB #87A2CD #B2C3DF #DDE5F1

Accessibility & contrast

On white

2.60
#87A2CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#87A2CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2CD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2CD#FFFFFF#000000##000000
##87A2CD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#8C9ECC
Tritanopia (blue-blind)
#72ABB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #87a2cd;
/* rgb */ color: rgb(135, 162, 205);
/* oklch */ color: oklch(70.8% 0.070 259.6);
Tailwind
colors: {
  custom: {
    50: '#acbddc',
    500: '#87a2cd',
    950: '#000000',
  },
}
SCSS
$custom: #87a2cd;
$custom-light: #acbddc;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2cd",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 205
  },
  "hsl": {
    "h": 216.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7075,
    "c": 0.07019,
    "h": 259.6
  },
  "luminance": 0.35399
}

Semantic roles & 50–950 ramp

primary
#87A2CD
secondary
#E3DACD
accent
#8231B4
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #87A2CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#87A2CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva