#87A2DB#87A2DB

#87A2DB is a light, moderate blue. Relative luminance 0.361; OKLCH L 71.4% C 0.089 H 264.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#87A2DB
RGBrgb(135, 162, 219)
HSLhsl(221, 54%, 69%)
HSVhsv(221, 38%, 86%)
CMYKcmyk(38.4%, 26%, 0%, 14.1%)
CIE-LABlab(66.60, 4.70, -31.90)
CIE-LCHlch(66.60, 32.25, 278.39°)
OKLaboklab(71.35% -0.0083 -0.0887)
OKLCHoklch(71.35% 0.089 264.7)
XYZxyz(35.6943, 36.1043, 72.0922)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2DB #DBC087
analogous
#87CCDB #87A2DB #9687DB
triadic
#87A2DB #DB87A2 #A2DB87
tetradic
#87A2DB #DB87CC #DBC087 #87DB96
square
#87A2DB #DB87CC #DBC087 #87DB96
split-complementary
#87A2DB #DB9687 #CCDB87
monochromatic
#355EB2 #587ECD #87A2DB #B6C6E9 #E5EBF7

Accessibility & contrast

On white

2.55
#87A2DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#87A2DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2DB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2DB#FFFFFF#000000##000000
##87A2DB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA6DE
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#6CAEB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87a2db;
/* rgb */ color: rgb(135, 162, 219);
/* oklch */ color: oklch(71.4% 0.089 264.7);
Tailwind
colors: {
  custom: {
    50: '#adbde6',
    500: '#87a2db',
    950: '#000000',
  },
}
SCSS
$custom: #87a2db;
$custom-light: #adbde6;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2db",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 219
  },
  "hsl": {
    "h": 220.714,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.08911,
    "h": 264.7
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

primary
#87A2DB
secondary
#EBE3D3
accent
#8F24C1
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #87A2DB

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

Preview Lab → · Contrast checker → · Palette generator →

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