#87A2EB#87A2EB

#87A2EB is a light, moderate blue. Relative luminance 0.370; OKLCH L 72.1% C 0.111 H 268.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#87A2EB
RGBrgb(135, 162, 235)
HSLhsl(224, 71%, 73%)
HSVhsv(224, 43%, 92%)
CMYKcmyk(42.6%, 31.1%, 0%, 7.8%)
CIE-LABlab(67.27, 9.11, -39.66)
CIE-LCHlch(67.27, 40.70, 282.94°)
OKLaboklab(72.09% -0.0038 -0.1111)
OKLCHoklch(72.09% 0.111 268.1)
XYZxyz(37.9027, 36.9877, 83.7233)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2EB #EBD087
analogous
#87D4EB #87A2EB #9E87EB
triadic
#87A2EB #EB87A2 #A2EB87
tetradic
#87A2EB #EB87D4 #EBD087 #87EB9E
square
#87A2EB #EB87D4 #EBD087 #87EB9E
split-complementary
#87A2EB #EB9E87 #D4EB87
monochromatic
#2353D4 #5379E2 #87A2EB #BBCBF4 #E5EBFB

Accessibility & contrast

On white

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

On black

8.40
#87A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2EB#FFFFFF#000000##000000
##87A2EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EE
Deuteranopia (green-blind)
#7FA0E9
Tritanopia (blue-blind)
#64B1BC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a2eb;
/* rgb */ color: rgb(135, 162, 235);
/* oklch */ color: oklch(72.1% 0.111 268.1);
Tailwind
colors: {
  custom: {
    50: '#aebdf1',
    500: '#87a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #87a2eb;
$custom-light: #aebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2eb",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 223.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72094,
    "c": 0.11112,
    "h": 268.1
  },
  "luminance": 0.3699
}

Semantic roles & 50–950 ramp

primary
#87A2EB
secondary
#F2EBD9
accent
#9F12D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #87A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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