#87A2CB#87A2CB

#87A2CB is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.7% C 0.068 H 258.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#87A2CB
RGBrgb(135, 162, 203)
HSLhsl(216, 40%, 66%)
HSVhsv(216, 33%, 80%)
CMYKcmyk(33.5%, 20.2%, 0%, 20.4%)
CIE-LABlab(65.98, 0.47, -24.00)
CIE-LCHlch(65.98, 24.00, 271.13°)
OKLaboklab(70.67% -0.0133 -0.0662)
OKLCHoklch(70.67% 0.068 258.6)
XYZxyz(33.6883, 35.3019, 61.5272)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2CB #CBB087
analogous
#87C4CB #87A2CB #8E87CB
triadic
#87A2CB #CB87A2 #A2CB87
tetradic
#87A2CB #CB87C4 #CBB087 #87CB8E
square
#87A2CB #CB87C4 #CBB087 #87CB8E
split-complementary
#87A2CB #CB8E87 #C4CB87
monochromatic
#416396 #5C81B8 #87A2CB #B2C3DE #DCE4F0

Accessibility & contrast

On white

2.61
#87A2CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#87A2CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2CB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2CB#FFFFFF#000000##000000
##87A2CB1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CD
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#72ABB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87a2cb;
/* rgb */ color: rgb(135, 162, 203);
/* oklch */ color: oklch(70.7% 0.068 258.6);
Tailwind
colors: {
  custom: {
    50: '#acbddb',
    500: '#87a2cb',
    950: '#000000',
  },
}
SCSS
$custom: #87a2cb;
$custom-light: #acbddb;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2cb",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 203
  },
  "hsl": {
    "h": 216.176,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70668,
    "c": 0.06755,
    "h": 258.6
  },
  "luminance": 0.35303
}

Semantic roles & 50–950 ramp

primary
#87A2CB
secondary
#E2D9CC
accent
#8033B3
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101215
muted
#7F8183

Preview Lab

Preview with #87A2CB

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

Preview Lab → · Contrast checker → · Palette generator →

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