#87A5CC#87A5CC

#87A5CC is a light, moderate cyan. Relative luminance 0.364; OKLCH L 71.4% C 0.066 H 255.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87A5CC
RGBrgb(135, 165, 204)
HSLhsl(214, 40%, 66%)
HSVhsv(214, 34%, 80%)
CMYKcmyk(33.8%, 19.1%, 0%, 20%)
CIE-LABlab(66.84, -0.94, -23.24)
CIE-LCHlch(66.84, 23.26, 267.68°)
OKLaboklab(71.35% -0.017 -0.0641)
OKLCHoklch(71.35% 0.066 255.2)
XYZxyz(34.3426, 36.4193, 62.3351)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A5CC #CCAE87
analogous
#87C8CC #87A5CC #8C87CC
triadic
#87A5CC #CC87A5 #A5CC87
tetradic
#87A5CC #CC87C8 #CCAE87 #87CC8C
square
#87A5CC #CC87C8 #CCAE87 #87CC8C
split-complementary
#87A5CC #CC8C87 #C8CC87
monochromatic
#416798 #5C85BA #87A5CC #B2C5DE #DDE5F1

Accessibility & contrast

On white

2.53
#87A5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#87A5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A5CC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A5CC#FFFFFF#000000##000000
##87A5CC1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CE
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#72ADB2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #87a5cc;
/* rgb */ color: rgb(135, 165, 204);
/* oklch */ color: oklch(71.4% 0.066 255.2);
Tailwind
colors: {
  custom: {
    50: '#acbfdb',
    500: '#87a5cc',
    950: '#000000',
  },
}
SCSS
$custom: #87a5cc;
$custom-light: #acbfdb;
$custom-dark: #000000;
JSON
{
  "hex": "#87a5cc",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 204
  },
  "hsl": {
    "h": 213.913,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71351,
    "c": 0.0663,
    "h": 255.2
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#87A5CC
secondary
#E3D9CC
accent
#7B32B3
background
#FAFBFD
surface
#F4F7FB
border
#CED0D4
text
#101215
muted
#7F8183

Preview Lab

Preview with #87A5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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