#87A7EB#87A7EB

#87A7EB is a light, moderate blue. Relative luminance 0.388; OKLCH L 73.1% C 0.106 H 264.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#87A7EB
RGBrgb(135, 167, 235)
HSLhsl(221, 71%, 73%)
HSVhsv(221, 43%, 92%)
CMYKcmyk(42.6%, 28.9%, 0%, 7.8%)
CIE-LABlab(68.59, 6.28, -37.59)
CIE-LCHlch(68.59, 38.11, 279.48°)
OKLaboklab(73.13% -0.0099 -0.1051)
OKLCHoklch(73.13% 0.106 264.6)
XYZxyz(38.8010, 38.7843, 84.0228)
Luminance0.3879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A7EB #EBCB87
analogous
#87D9EB #87A7EB #9987EB
triadic
#87A7EB #EB87A7 #A7EB87
tetradic
#87A7EB #EB87D9 #EBCB87 #87EB99
square
#87A7EB #EB87D9 #EBCB87 #87EB99
split-complementary
#87A7EB #EB9987 #D9EB87
monochromatic
#235CD4 #5381E2 #87A7EB #BBCDF4 #E5ECFB

Accessibility & contrast

On white

2.40
#87A7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#87A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A7EB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A7EB#FFFFFF#000000##000000
##87A7EB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#63B5BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87a7eb;
/* rgb */ color: rgb(135, 167, 235);
/* oklch */ color: oklch(73.1% 0.106 264.6);
Tailwind
colors: {
  custom: {
    50: '#aec0f1',
    500: '#87a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #87a7eb;
$custom-light: #aec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a7eb",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 220.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73125,
    "c": 0.10555,
    "h": 264.6
  },
  "luminance": 0.38786
}

Semantic roles & 50–950 ramp

primary
#87A7EB
secondary
#F2EAD9
accent
#9612D3
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #87A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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