#87AAFE#87AAFE

#87AAFE is a light, vivid blue. Relative luminance 0.411; OKLCH L 74.7% C 0.128 H 266.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#87AAFE
RGBrgb(135, 170, 254)
HSLhsl(222, 98%, 76%)
HSVhsv(222, 47%, 100%)
CMYKcmyk(46.9%, 33.1%, 0%, 0.4%)
CIE-LABlab(70.21, 9.98, -45.40)
CIE-LCHlch(70.21, 46.49, 282.40°)
OKLaboklab(74.66% -0.0086 -0.1277)
OKLCHoklch(74.66% 0.128 266.2)
XYZxyz(42.2500, 41.0535, 99.4445)
Luminance0.4106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AAFE #FEDB87
analogous
#87E6FE #87AAFE #A087FE
triadic
#87AAFE #FE87AA #AAFE87
tetradic
#87AAFE #FE87E6 #FEDB87 #87FEA0
square
#87AAFE #FE87E6 #FEDB87 #87FEA0
split-complementary
#87AAFE #FEA087 #E6FE87
monochromatic
#0E54FD #4A7FFD #87AAFE #C4D5FF #E1EAFF

Accessibility & contrast

On white

2.28
#87AAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#87AAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AAFE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AAFE#FFFFFF#000000##000000
##87AAFE1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#57BCC8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #87aafe;
/* rgb */ color: rgb(135, 170, 254);
/* oklch */ color: oklch(74.7% 0.128 266.2);
Tailwind
colors: {
  custom: {
    50: '#afc3ff',
    500: '#87aafe',
    950: '#000000',
  },
}
SCSS
$custom: #87aafe;
$custom-light: #afc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#87aafe",
  "rgb": {
    "r": 135,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 222.353,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74655,
    "c": 0.12795,
    "h": 266.2
  },
  "luminance": 0.41056
}

Semantic roles & 50–950 ramp

primary
#87AAFE
secondary
#F7EDD4
accent
#A200E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #87AAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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