#87A2CC#87A2CC

#87A2CC is a light, moderate blue. Relative luminance 0.354; OKLCH L 70.7% C 0.069 H 259.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#87A2CC
RGBrgb(135, 162, 204)
HSLhsl(217, 40%, 66%)
HSVhsv(217, 34%, 80%)
CMYKcmyk(33.8%, 20.6%, 0%, 20%)
CIE-LABlab(66.02, 0.73, -24.50)
CIE-LCHlch(66.02, 24.51, 271.71°)
OKLaboklab(70.71% -0.013 -0.0676)
OKLCHoklch(70.71% 0.069 259.1)
XYZxyz(33.8078, 35.3497, 62.1569)
Luminance0.3535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2CC #CCB187
analogous
#87C5CC #87A2CC #8F87CC
triadic
#87A2CC #CC87A2 #A2CC87
tetradic
#87A2CC #CC87C5 #CCB187 #87CC8F
square
#87A2CC #CC87C5 #CCB187 #87CC8F
split-complementary
#87A2CC #CC8F87 #C5CC87
monochromatic
#416398 #5C81BA #87A2CC #B2C3DE #DDE5F1

Accessibility & contrast

On white

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

On black

8.07
#87A2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2CC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2CC#FFFFFF#000000##000000
##87A2CC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A4CE
Deuteranopia (green-blind)
#8C9DCB
Tritanopia (blue-blind)
#72ABB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87a2cc;
/* rgb */ color: rgb(135, 162, 204);
/* oklch */ color: oklch(70.7% 0.069 259.1);
Tailwind
colors: {
  custom: {
    50: '#acbddb',
    500: '#87a2cc',
    950: '#000000',
  },
}
SCSS
$custom: #87a2cc;
$custom-light: #acbddb;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2cc",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 204
  },
  "hsl": {
    "h": 216.522,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.06887,
    "h": 259.1
  },
  "luminance": 0.35351
}

Semantic roles & 50–950 ramp

primary
#87A2CC
secondary
#E3DACC
accent
#8132B3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #87A2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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