#87A4E7#87A4E7

#87A4E7 is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.3% C 0.103 H 265.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#87A4E7
RGBrgb(135, 164, 231)
HSLhsl(222, 67%, 72%)
HSVhsv(222, 42%, 91%)
CMYKcmyk(41.6%, 29%, 0%, 9.4%)
CIE-LABlab(67.63, 6.86, -36.91)
CIE-LCHlch(67.63, 37.54, 280.53°)
OKLaboklab(72.32% -0.0073 -0.1031)
OKLCHoklch(72.32% 0.103 265.9)
XYZxyz(37.6864, 37.4693, 80.8323)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4E7 #E7CA87
analogous
#87D4E7 #87A4E7 #9A87E7
triadic
#87A4E7 #E787A4 #A4E787
tetradic
#87A4E7 #E787D4 #E7CA87 #87E79A
square
#87A4E7 #E787D4 #E7CA87 #87E79A
split-complementary
#87A4E7 #E79A87 #D4E787
monochromatic
#295ACB #547DDD #87A4E7 #BACBF1 #E5ECFA

Accessibility & contrast

On white

2.47
#87A4E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#87A4E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4E7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4E7#FFFFFF#000000##000000
##87A4E71.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA9EA
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#66B2BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87a4e7;
/* rgb */ color: rgb(135, 164, 231);
/* oklch */ color: oklch(72.3% 0.103 265.9);
Tailwind
colors: {
  custom: {
    50: '#adbeef',
    500: '#87a4e7',
    950: '#000000',
  },
}
SCSS
$custom: #87a4e7;
$custom-light: #adbeef;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4e7",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 231
  },
  "hsl": {
    "h": 221.875,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.10337,
    "h": 265.9
  },
  "luminance": 0.37471
}

Semantic roles & 50–950 ramp

primary
#87A4E7
secondary
#F1EAD9
accent
#9717CF
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A4E7

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

Preview Lab → · Contrast checker → · Palette generator →

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