#87A2CA#87A2CA

#87A2CA is a light, moderate blue. Relative luminance 0.353; OKLCH L 70.6% C 0.066 H 258.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#87A2CA
RGBrgb(135, 162, 202)
HSLhsl(216, 39%, 66%)
HSVhsv(216, 33%, 79%)
CMYKcmyk(33.2%, 19.8%, 0%, 20.8%)
CIE-LABlab(65.95, 0.22, -23.50)
CIE-LCHlch(65.95, 23.50, 270.52°)
OKLaboklab(70.63% -0.0137 -0.0648)
OKLCHoklch(70.63% 0.066 258.1)
XYZxyz(33.5695, 35.2544, 60.9017)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2CA #CAAF87
analogous
#87C3CA #87A2CA #8D87CA
triadic
#87A2CA #CA87A2 #A2CA87
tetradic
#87A2CA #CA87C3 #CAAF87 #87CA8D
square
#87A2CA #CA87C3 #CAAF87 #87CA8D
split-complementary
#87A2CA #CA8D87 #C3CA87
monochromatic
#426395 #5D81B7 #87A2CA #B1C3DD #DCE4EF

Accessibility & contrast

On white

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

On black

8.05
#87A2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2CA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2CA#FFFFFF#000000##000000
##87A2CA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CC
Deuteranopia (green-blind)
#8D9DC9
Tritanopia (blue-blind)
#73AAAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #87a2ca;
/* rgb */ color: rgb(135, 162, 202);
/* oklch */ color: oklch(70.6% 0.066 258.1);
Tailwind
colors: {
  custom: {
    50: '#abbdda',
    500: '#87a2ca',
    950: '#000000',
  },
}
SCSS
$custom: #87a2ca;
$custom-light: #abbdda;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2ca",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 202
  },
  "hsl": {
    "h": 215.821,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.06623,
    "h": 258.1
  },
  "luminance": 0.35256
}

Semantic roles & 50–950 ramp

primary
#87A2CA
secondary
#E1D9CB
accent
#7F34B2
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101214
muted
#7F8183

Preview Lab

Preview with #87A2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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