#87A4EA#87A4EA

#87A4EA is a light, moderate blue. Relative luminance 0.376; OKLCH L 72.5% C 0.107 H 266.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#87A4EA
RGBrgb(135, 164, 234)
HSLhsl(222, 70%, 72%)
HSVhsv(222, 42%, 92%)
CMYKcmyk(42.3%, 29.9%, 0%, 8.2%)
CIE-LABlab(67.75, 7.70, -38.36)
CIE-LCHlch(67.75, 39.12, 281.35°)
OKLaboklab(72.46% -0.0065 -0.1073)
OKLCHoklch(72.46% 0.107 266.5)
XYZxyz(38.1138, 37.6403, 83.0829)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4EA #EACD87
analogous
#87D6EA #87A4EA #9B87EA
triadic
#87A4EA #EA87A4 #A4EA87
tetradic
#87A4EA #EA87D6 #EACD87 #87EA9B
square
#87A4EA #EA87D6 #EACD87 #87EA9B
split-complementary
#87A4EA #EA9B87 #D6EA87
monochromatic
#2557D2 #537DE1 #87A4EA #BBCBF3 #E5EBFA

Accessibility & contrast

On white

2.46
#87A4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#87A4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4EA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4EA#FFFFFF#000000##000000
##87A4EA1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#64B3BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87a4ea;
/* rgb */ color: rgb(135, 164, 234);
/* oklch */ color: oklch(72.5% 0.107 266.5);
Tailwind
colors: {
  custom: {
    50: '#aebef1',
    500: '#87a4ea',
    950: '#000000',
  },
}
SCSS
$custom: #87a4ea;
$custom-light: #aebef1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4ea",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 222.424,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.10748,
    "h": 266.5
  },
  "luminance": 0.37642
}

Semantic roles & 50–950 ramp

primary
#87A4EA
secondary
#F2EBD9
accent
#9A13D2
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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