#87A8EA#87A8EA

#87A8EA is a light, moderate blue. Relative luminance 0.391; OKLCH L 73.3% C 0.103 H 263.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#87A8EA
RGBrgb(135, 168, 234)
HSLhsl(220, 70%, 72%)
HSVhsv(220, 42%, 92%)
CMYKcmyk(42.3%, 28.2%, 0%, 8.2%)
CIE-LABlab(68.82, 5.44, -36.70)
CIE-LCHlch(68.82, 37.10, 278.43°)
OKLaboklab(73.29% -0.0114 -0.1025)
OKLCHoklch(73.29% 0.103 263.6)
XYZxyz(38.8409, 39.0945, 83.3253)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A8EA #EAC987
analogous
#87DAEA #87A8EA #9887EA
triadic
#87A8EA #EA87A8 #A8EA87
tetradic
#87A8EA #EA87DA #EAC987 #87EA98
square
#87A8EA #EA87DA #EAC987 #87EA98
split-complementary
#87A8EA #EA9887 #DAEA87
monochromatic
#255ED2 #5382E1 #87A8EA #BBCEF3 #E5ECFA

Accessibility & contrast

On white

2.38
#87A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#87A8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A8EA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A8EA#FFFFFF#000000##000000
##87A8EA1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#64B6BF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87a8ea;
/* rgb */ color: rgb(135, 168, 234);
/* oklch */ color: oklch(73.3% 0.103 263.6);
Tailwind
colors: {
  custom: {
    50: '#aec1f1',
    500: '#87a8ea',
    950: '#000000',
  },
}
SCSS
$custom: #87a8ea;
$custom-light: #aec1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a8ea",
  "rgb": {
    "r": 135,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 220,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73287,
    "c": 0.10313,
    "h": 263.6
  },
  "luminance": 0.39097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87A8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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