#87A4EE#87A4EE

#87A4EE is a light, moderate blue. Relative luminance 0.379; OKLCH L 72.6% C 0.113 H 267.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#87A4EE
RGBrgb(135, 164, 238)
HSLhsl(223, 75%, 73%)
HSVhsv(223, 43%, 93%)
CMYKcmyk(43.3%, 31.1%, 0%, 6.7%)
CIE-LABlab(67.93, 8.82, -40.28)
CIE-LCHlch(67.93, 41.23, 282.35°)
OKLaboklab(72.65% -0.0054 -0.1128)
OKLCHoklch(72.65% 0.113 267.2)
XYZxyz(38.6949, 37.8727, 86.1436)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A4EE #EED187
analogous
#87D7EE #87A4EE #9D87EE
triadic
#87A4EE #EE87A4 #A4EE87
tetradic
#87A4EE #EE87D7 #EED187 #87EE9D
square
#87A4EE #EE87D7 #EED187 #87EE9D
split-complementary
#87A4EE #EE9D87 #D7EE87
monochromatic
#1F54DC #517BE6 #87A4EE #BDCDF6 #E4EBFB

Accessibility & contrast

On white

2.45
#87A4EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#87A4EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A4EE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A4EE#FFFFFF#000000##000000
##87A4EE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF1
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#62B3BE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87a4ee;
/* rgb */ color: rgb(135, 164, 238);
/* oklch */ color: oklch(72.6% 0.113 267.2);
Tailwind
colors: {
  custom: {
    50: '#aebef4',
    500: '#87a4ee',
    950: '#000000',
  },
}
SCSS
$custom: #87a4ee;
$custom-light: #aebef4;
$custom-dark: #000000;
JSON
{
  "hex": "#87a4ee",
  "rgb": {
    "r": 135,
    "g": 164,
    "b": 238
  },
  "hsl": {
    "h": 223.107,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72648,
    "c": 0.11296,
    "h": 267.2
  },
  "luminance": 0.37875
}

Semantic roles & 50–950 ramp

primary
#87A4EE
secondary
#F3EBD8
accent
#9F0ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #87A4EE

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

Preview Lab → · Contrast checker → · Palette generator →

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