#87AEFB#87AEFB

#87AEFB is a light, moderate blue. Relative luminance 0.424; OKLCH L 75.3% C 0.120 H 263.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#87AEFB
RGBrgb(135, 174, 251)
HSLhsl(220, 94%, 76%)
HSVhsv(220, 46%, 98%)
CMYKcmyk(46.2%, 30.7%, 0%, 1.6%)
CIE-LABlab(71.14, 6.86, -42.33)
CIE-LCHlch(71.14, 42.88, 279.21°)
OKLaboklab(75.33% -0.014 -0.1187)
OKLCHoklch(75.33% 0.12 263.3)
XYZxyz(42.5346, 42.3854, 97.1880)
Luminance0.4239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AEFB #FBD487
analogous
#87E8FB #87AEFB #9A87FB
triadic
#87AEFB #FB87AE #AEFB87
tetradic
#87AEFB #FB87E8 #FBD487 #87FB9A
square
#87AEFB #FB87E8 #FBD487 #87FB9A
split-complementary
#87AEFB #FB9A87 #E8FB87
monochromatic
#115EF7 #4C86F9 #87AEFB #C2D6FD #E1EBFE

Accessibility & contrast

On white

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

On black

9.48
#87AEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AEFB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AEFB#FFFFFF#000000##000000
##87AEFB1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FE
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#59BEC9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #87aefb;
/* rgb */ color: rgb(135, 174, 251);
/* oklch */ color: oklch(75.3% 0.120 263.3);
Tailwind
colors: {
  custom: {
    50: '#afc5fd',
    500: '#87aefb',
    950: '#000000',
  },
}
SCSS
$custom: #87aefb;
$custom-light: #afc5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#87aefb",
  "rgb": {
    "r": 135,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 219.828,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.11958,
    "h": 263.3
  },
  "luminance": 0.42388
}

Semantic roles & 50–950 ramp

primary
#87AEFB
secondary
#F6EBD5
accent
#9800E6
background
#FBFCFF
surface
#F6F8FF
border
#D0D1D7
text
#111217
muted
#808185

Preview Lab

Preview with #87AEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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