#87A2EE#87A2EE

#87A2EE is a light, moderate blue. Relative luminance 0.372; OKLCH L 72.2% C 0.115 H 268.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#87A2EE
RGBrgb(135, 162, 238)
HSLhsl(224, 75%, 73%)
HSVhsv(224, 43%, 93%)
CMYKcmyk(43.3%, 31.9%, 0%, 6.7%)
CIE-LABlab(67.40, 9.96, -41.10)
CIE-LCHlch(67.40, 42.29, 283.62°)
OKLaboklab(72.24% -0.003 -0.1152)
OKLCHoklch(72.24% 0.115 268.5)
XYZxyz(38.3398, 37.1625, 86.0252)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2EE #EED387
analogous
#87D5EE #87A2EE #9F87EE
triadic
#87A2EE #EE87A2 #A2EE87
tetradic
#87A2EE #EE87D5 #EED387 #87EE9F
square
#87A2EE #EE87D5 #EED387 #87EE9F
split-complementary
#87A2EE #EE9F87 #D5EE87
monochromatic
#1F50DC #5178E6 #87A2EE #BDCCF6 #E4EAFB

Accessibility & contrast

On white

2.49
#87A2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#87A2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2EE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2EE#FFFFFF#000000##000000
##87A2EE1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#63B2BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a2ee;
/* rgb */ color: rgb(135, 162, 238);
/* oklch */ color: oklch(72.2% 0.115 268.5);
Tailwind
colors: {
  custom: {
    50: '#aebdf4',
    500: '#87a2ee',
    950: '#000000',
  },
}
SCSS
$custom: #87a2ee;
$custom-light: #aebdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2ee",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 224.272,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72238,
    "c": 0.11526,
    "h": 268.5
  },
  "luminance": 0.37165
}

Semantic roles & 50–950 ramp

primary
#87A2EE
secondary
#F3ECD8
accent
#A30ED7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #87A2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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