#87A5EE#87A5EE

#87A5EE is a light, moderate blue. Relative luminance 0.382; OKLCH L 72.9% C 0.112 H 266.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#87A5EE
RGBrgb(135, 165, 238)
HSLhsl(223, 75%, 73%)
HSVhsv(223, 43%, 93%)
CMYKcmyk(43.3%, 30.7%, 0%, 6.7%)
CIE-LABlab(68.19, 8.25, -39.86)
CIE-LCHlch(68.19, 40.71, 281.70°)
OKLaboklab(72.85% -0.0067 -0.1116)
OKLCHoklch(72.85% 0.112 266.6)
XYZxyz(38.8745, 38.2320, 86.2035)
Luminance0.3823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A5EE #EED087
analogous
#87D8EE #87A5EE #9C87EE
triadic
#87A5EE #EE87A5 #A5EE87
tetradic
#87A5EE #EE87D8 #EED087 #87EE9C
square
#87A5EE #EE87D8 #EED087 #87EE9C
split-complementary
#87A5EE #EE9C87 #D8EE87
monochromatic
#1F56DC #517DE6 #87A5EE #BDCDF6 #E4EBFB

Accessibility & contrast

On white

2.43
#87A5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#87A5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A5EE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A5EE#FFFFFF#000000##000000
##87A5EE1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#62B4BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a5ee;
/* rgb */ color: rgb(135, 165, 238);
/* oklch */ color: oklch(72.9% 0.112 266.6);
Tailwind
colors: {
  custom: {
    50: '#aebff4',
    500: '#87a5ee',
    950: '#000000',
  },
}
SCSS
$custom: #87a5ee;
$custom-light: #aebff4;
$custom-dark: #000000;
JSON
{
  "hex": "#87a5ee",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 222.524,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.11183,
    "h": 266.6
  },
  "luminance": 0.38234
}

Semantic roles & 50–950 ramp

primary
#87A5EE
secondary
#F3EBD8
accent
#9D0ED7
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #87A5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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