#87AFF2#87AFF2

#87AFF2 is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.1% C 0.107 H 260.4°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#87AFF2
RGBrgb(135, 175, 242)
HSLhsl(218, 80%, 74%)
HSVhsv(218, 44%, 95%)
CMYKcmyk(44.2%, 27.7%, 0%, 5.1%)
CIE-LABlab(71.02, 3.75, -37.63)
CIE-LCHlch(71.02, 37.82, 275.69°)
OKLaboklab(75.11% -0.0177 -0.1052)
OKLCHoklch(75.11% 0.107 260.4)
XYZxyz(41.3435, 42.2191, 89.9578)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFF2 #F2CA87
analogous
#87E5F2 #87AFF2 #9587F2
triadic
#87AFF2 #F287AF #AFF287
tetradic
#87AFF2 #F287E5 #F2CA87 #87F295
square
#87AFF2 #F287E5 #F2CA87 #87F295
split-complementary
#87AFF2 #F29587 #E5F287
monochromatic
#1965E6 #508AEC #87AFF2 #BED4F8 #E3EDFC

Accessibility & contrast

On white

2.22
#87AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#87AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFF2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFF2#FFFFFF#000000##000000
##87AFF21.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B3F5
Deuteranopia (green-blind)
#8AA9F1
Tritanopia (blue-blind)
#5EBDC6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #87aff2;
/* rgb */ color: rgb(135, 175, 242);
/* oklch */ color: oklch(75.1% 0.107 260.4);
Tailwind
colors: {
  custom: {
    50: '#aec6f6',
    500: '#87aff2',
    950: '#000000',
  },
}
SCSS
$custom: #87aff2;
$custom-light: #aec6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#87aff2",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 217.57,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75115,
    "c": 0.10665,
    "h": 260.4
  },
  "luminance": 0.42222
}

Semantic roles & 50–950 ramp

primary
#87AFF2
secondary
#F4E9D7
accent
#8E09DD
background
#FBFCFF
surface
#F6F8FE
border
#D0D1D6
text
#111317
muted
#808285

Preview Lab

Preview with #87AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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