#87A4E9#87A4E9

#87A4E9 is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.4% C 0.106 H 266.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#87A4E9
RGBrgb(135, 164, 233)
HSLhsl(222, 69%, 72%)
HSVhsv(222, 42%, 91%)
CMYKcmyk(42.1%, 29.6%, 0%, 8.6%)
CIE-LABlab(67.71, 7.42, -37.87)
CIE-LCHlch(67.71, 38.59, 281.08°)
OKLaboklab(72.41% -0.0068 -0.1059)
OKLCHoklch(72.41% 0.106 266.3)
XYZxyz(37.9705, 37.5830, 82.3285)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4E9 #E9CC87
analogous
#87D5E9 #87A4E9 #9B87E9
triadic
#87A4E9 #E987A4 #A4E987
tetradic
#87A4E9 #E987D5 #E9CC87 #87E99B
square
#87A4E9 #E987D5 #E9CC87 #87E99B
split-complementary
#87A4E9 #E99B87 #D5E987
monochromatic
#2658D0 #537DE0 #87A4E9 #BBCBF2 #E5EBFA

Accessibility & contrast

On white

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

On black

8.52
#87A4E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4E9
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4E9#FFFFFF#000000##000000
##87A4E91.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEC
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#65B2BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87a4e9;
/* rgb */ color: rgb(135, 164, 233);
/* oklch */ color: oklch(72.4% 0.106 266.3);
Tailwind
colors: {
  custom: {
    50: '#aebef0',
    500: '#87a4e9',
    950: '#000000',
  },
}
SCSS
$custom: #87a4e9;
$custom-light: #aebef0;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4e9",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 233
  },
  "hsl": {
    "h": 222.245,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.10611,
    "h": 266.3
  },
  "luminance": 0.37585
}

Semantic roles & 50–950 ramp

primary
#87A4E9
secondary
#F2EBD9
accent
#9915D1
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A4E9

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

Preview Lab → · Contrast checker → · Palette generator →

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