#87A5EA#87A5EA

#87A5EA is a light, moderate blue. Relative luminance 0.380; OKLCH L 72.7% C 0.106 H 265.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#87A5EA
RGBrgb(135, 165, 234)
HSLhsl(222, 70%, 72%)
HSVhsv(222, 42%, 92%)
CMYKcmyk(42.3%, 29.5%, 0%, 8.2%)
CIE-LABlab(68.02, 7.13, -37.94)
CIE-LCHlch(68.02, 38.61, 280.65°)
OKLaboklab(72.66% -0.0077 -0.1061)
OKLCHoklch(72.66% 0.106 265.8)
XYZxyz(38.2934, 37.9996, 83.1428)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A5EA #EACC87
analogous
#87D7EA #87A5EA #9A87EA
triadic
#87A5EA #EA87A5 #A5EA87
tetradic
#87A5EA #EA87D7 #EACC87 #87EA9A
square
#87A5EA #EA87D7 #EACC87 #87EA9A
split-complementary
#87A5EA #EA9A87 #D7EA87
monochromatic
#2559D2 #537EE1 #87A5EA #BBCCF3 #E5EBFA

Accessibility & contrast

On white

2.44
#87A5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#87A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A5EA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A5EA#FFFFFF#000000##000000
##87A5EA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#64B3BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #87a5ea;
/* rgb */ color: rgb(135, 165, 234);
/* oklch */ color: oklch(72.7% 0.106 265.8);
Tailwind
colors: {
  custom: {
    50: '#aebff1',
    500: '#87a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #87a5ea;
$custom-light: #aebff1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a5ea",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 221.818,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.10636,
    "h": 265.8
  },
  "luminance": 0.38002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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