#87A4E8#87A4E8

#87A4E8 is a light, moderate blue. Relative luminance 0.375; OKLCH L 72.4% C 0.105 H 266.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#87A4E8
RGBrgb(135, 164, 232)
HSLhsl(222, 68%, 72%)
HSVhsv(222, 42%, 91%)
CMYKcmyk(41.8%, 29.3%, 0%, 9%)
CIE-LABlab(67.67, 7.14, -37.39)
CIE-LCHlch(67.67, 38.07, 280.81°)
OKLaboklab(72.36% -0.007 -0.1045)
OKLCHoklch(72.36% 0.105 266.1)
XYZxyz(37.8281, 37.5260, 81.5783)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4E8 #E8CB87
analogous
#87D5E8 #87A4E8 #9B87E8
triadic
#87A4E8 #E887A4 #A4E887
tetradic
#87A4E8 #E887D5 #E8CB87 #87E89B
square
#87A4E8 #E887D5 #E8CB87 #87E89B
split-complementary
#87A4E8 #E89B87 #D5E887
monochromatic
#2759CD #547DDE #87A4E8 #BACBF2 #E5ECFA

Accessibility & contrast

On white

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

On black

8.51
#87A4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4E8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4E8#FFFFFF#000000##000000
##87A4E81.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87a4e8;
/* rgb */ color: rgb(135, 164, 232);
/* oklch */ color: oklch(72.4% 0.105 266.1);
Tailwind
colors: {
  custom: {
    50: '#adbeef',
    500: '#87a4e8',
    950: '#000000',
  },
}
SCSS
$custom: #87a4e8;
$custom-light: #adbeef;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4e8",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 232
  },
  "hsl": {
    "h": 222.062,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.10474,
    "h": 266.1
  },
  "luminance": 0.37528
}

Semantic roles & 50–950 ramp

primary
#87A4E8
secondary
#F2EAD9
accent
#9816D0
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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