#87A4E5#87A4E5

#87A4E5 is a light, moderate blue. Relative luminance 0.374; OKLCH L 72.2% C 0.101 H 265.5°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#87A4E5
RGBrgb(135, 164, 229)
HSLhsl(221, 64%, 71%)
HSVhsv(221, 41%, 90%)
CMYKcmyk(41%, 28.4%, 0%, 10.2%)
CIE-LABlab(67.54, 6.31, -35.94)
CIE-LCHlch(67.54, 36.49, 279.95°)
OKLaboklab(72.22% -0.0079 -0.1003)
OKLCHoklch(72.22% 0.101 265.5)
XYZxyz(37.4056, 37.3570, 79.3532)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4E5 #E5C887
analogous
#87D3E5 #87A4E5 #9987E5
triadic
#87A4E5 #E587A4 #A4E587
tetradic
#87A4E5 #E587D3 #E5C887 #87E599
square
#87A4E5 #E587D3 #E5C887 #87E599
split-complementary
#87A4E5 #E59987 #D3E587
monochromatic
#2B5BC7 #557EDA #87A4E5 #B9CAF0 #E6ECFA

Accessibility & contrast

On white

2.48
#87A4E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#87A4E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4E5
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4E5#FFFFFF#000000##000000
##87A4E51.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA9E8
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#67B1BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a4e5;
/* rgb */ color: rgb(135, 164, 229);
/* oklch */ color: oklch(72.2% 0.101 265.5);
Tailwind
colors: {
  custom: {
    50: '#adbeed',
    500: '#87a4e5',
    950: '#000000',
  },
}
SCSS
$custom: #87a4e5;
$custom-light: #adbeed;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4e5",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 229
  },
  "hsl": {
    "h": 221.489,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.10063,
    "h": 265.5
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

primary
#87A4E5
secondary
#F0E9D8
accent
#9519CC
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #87A4E5

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

Preview Lab → · Contrast checker → · Palette generator →

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