#87A7EA#87A7EA

#87A7EA is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.1% C 0.104 H 264.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#87A7EA
RGBrgb(135, 167, 234)
HSLhsl(221, 70%, 72%)
HSVhsv(221, 42%, 92%)
CMYKcmyk(42.3%, 28.6%, 0%, 8.2%)
CIE-LABlab(68.55, 6.00, -37.11)
CIE-LCHlch(68.55, 37.59, 279.19°)
OKLaboklab(73.08% -0.0102 -0.1037)
OKLCHoklch(73.08% 0.104 264.4)
XYZxyz(38.6570, 38.7267, 83.2640)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A7EA #EACA87
analogous
#87D9EA #87A7EA #9987EA
triadic
#87A7EA #EA87A7 #A7EA87
tetradic
#87A7EA #EA87D9 #EACA87 #87EA99
square
#87A7EA #EA87D9 #EACA87 #87EA99
split-complementary
#87A7EA #EA9987 #D9EA87
monochromatic
#255DD2 #5381E1 #87A7EA #BBCDF3 #E5ECFA

Accessibility & contrast

On white

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

On black

8.75
#87A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A7EA
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A7EA#FFFFFF#000000##000000
##87A7EA1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACED
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#64B5BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #87a7ea;
/* rgb */ color: rgb(135, 167, 234);
/* oklch */ color: oklch(73.1% 0.104 264.4);
Tailwind
colors: {
  custom: {
    50: '#aec0f1',
    500: '#87a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #87a7ea;
$custom-light: #aec0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a7ea",
  "rgb": {
    "r": 135,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 220.606,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73079,
    "c": 0.10419,
    "h": 264.4
  },
  "luminance": 0.38729
}

Semantic roles & 50–950 ramp

primary
#87A7EA
secondary
#F2EAD9
accent
#9413D2
background
#FAFBFE
surface
#F5F7FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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