#87A2EA#87A2EA

#87A2EA is a light, moderate blue. Relative luminance 0.369; OKLCH L 72.0% C 0.110 H 267.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#87A2EA
RGBrgb(135, 162, 234)
HSLhsl(224, 70%, 72%)
HSVhsv(224, 42%, 92%)
CMYKcmyk(42.3%, 30.8%, 0%, 8.2%)
CIE-LABlab(67.22, 8.83, -39.18)
CIE-LCHlch(67.22, 40.17, 282.71°)
OKLaboklab(72.05% -0.004 -0.1097)
OKLCHoklch(72.05% 0.11 267.9)
XYZxyz(37.7586, 36.9301, 82.9646)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2EA #EACF87
analogous
#87D4EA #87A2EA #9D87EA
triadic
#87A2EA #EA87A2 #A2EA87
tetradic
#87A2EA #EA87D4 #EACF87 #87EA9D
square
#87A2EA #EA87D4 #EACF87 #87EA9D
split-complementary
#87A2EA #EA9D87 #D4EA87
monochromatic
#2554D2 #537AE1 #87A2EA #BBCAF3 #E5EBFA

Accessibility & contrast

On white

2.50
#87A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#87A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2EA#FFFFFF#000000##000000
##87A2EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A8ED
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#65B1BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a2ea;
/* rgb */ color: rgb(135, 162, 234);
/* oklch */ color: oklch(72.0% 0.110 267.9);
Tailwind
colors: {
  custom: {
    50: '#aebdf1',
    500: '#87a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #87a2ea;
$custom-light: #aebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2ea",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 223.636,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72046,
    "c": 0.10974,
    "h": 267.9
  },
  "luminance": 0.36932
}

Semantic roles & 50–950 ramp

primary
#87A2EA
secondary
#F2EBD9
accent
#9E13D2
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111216
muted
#808184

Preview Lab

Preview with #87A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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