#87A5EF#87A5EF

#87A5EF is a light, moderate blue. Relative luminance 0.383; OKLCH L 72.9% C 0.113 H 266.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#87A5EF
RGBrgb(135, 165, 239)
HSLhsl(223, 76%, 73%)
HSVhsv(223, 44%, 94%)
CMYKcmyk(43.5%, 31%, 0%, 6.3%)
CIE-LABlab(68.23, 8.54, -40.34)
CIE-LCHlch(68.23, 41.23, 281.95°)
OKLaboklab(72.9% -0.0064 -0.113)
OKLCHoklch(72.9% 0.113 266.8)
XYZxyz(39.0219, 38.2910, 86.9794)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A5EF #EFD187
analogous
#87D9EF #87A5EF #9D87EF
triadic
#87A5EF #EF87A5 #A5EF87
tetradic
#87A5EF #EF87D9 #EFD187 #87EF9D
square
#87A5EF #EF87D9 #EFD187 #87EF9D
split-complementary
#87A5EF #EF9D87 #D9EF87
monochromatic
#1E55DE #517CE8 #87A5EF #BDCDF6 #E4EBFB

Accessibility & contrast

On white

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

On black

8.66
#87A5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A5EF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A5EF#FFFFFF#000000##000000
##87A5EF1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#62B4BF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a5ef;
/* rgb */ color: rgb(135, 165, 239);
/* oklch */ color: oklch(72.9% 0.113 266.8);
Tailwind
colors: {
  custom: {
    50: '#aebff4',
    500: '#87a5ef',
    950: '#000000',
  },
}
SCSS
$custom: #87a5ef;
$custom-light: #aebff4;
$custom-dark: #000000;
JSON
{
  "hex": "#87a5ef",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 222.692,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72901,
    "c": 0.11319,
    "h": 266.8
  },
  "luminance": 0.38293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87A5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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