#87A2EF#87A2EF

#87A2EF is a light, moderate blue. Relative luminance 0.372; OKLCH L 72.3% C 0.117 H 268.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#87A2EF
RGBrgb(135, 162, 239)
HSLhsl(224, 76%, 73%)
HSVhsv(224, 44%, 94%)
CMYKcmyk(43.5%, 32.2%, 0%, 6.3%)
CIE-LABlab(67.44, 10.24, -41.58)
CIE-LCHlch(67.44, 42.82, 283.84°)
OKLaboklab(72.29% -0.0027 -0.1166)
OKLCHoklch(72.29% 0.117 268.7)
XYZxyz(38.4871, 37.2214, 86.8011)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2EF #EFD487
analogous
#87D6EF #87A2EF #A087EF
triadic
#87A2EF #EF87A2 #A2EF87
tetradic
#87A2EF #EF87D6 #EFD487 #87EFA0
square
#87A2EF #EF87D6 #EFD487 #87EFA0
split-complementary
#87A2EF #EFA087 #D6EF87
monochromatic
#1E50DE #5178E8 #87A2EF #BDCCF6 #E4EAFB

Accessibility & contrast

On white

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

On black

8.44
#87A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2EF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2EF#FFFFFF#000000##000000
##87A2EF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#62B2BE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #87a2ef;
/* rgb */ color: rgb(135, 162, 239);
/* oklch */ color: oklch(72.3% 0.117 268.7);
Tailwind
colors: {
  custom: {
    50: '#aebdf4',
    500: '#87a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #87a2ef;
$custom-light: #aebdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2ef",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 224.423,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72287,
    "c": 0.11663,
    "h": 268.7
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #87A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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