#87AFF9#87AFF9

#87AFF9 is a light, moderate blue. Relative luminance 0.426; OKLCH L 75.4% C 0.116 H 262.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#87AFF9
RGBrgb(135, 175, 249)
HSLhsl(219, 90%, 75%)
HSVhsv(219, 46%, 98%)
CMYKcmyk(45.8%, 29.7%, 0%, 2.4%)
CIE-LABlab(71.32, 5.73, -40.97)
CIE-LCHlch(71.32, 41.37, 277.96°)
OKLaboklab(75.44% -0.0158 -0.1148)
OKLCHoklch(75.44% 0.116 262.2)
XYZxyz(42.4149, 42.6477, 95.6010)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFF9 #F9D187
analogous
#87E8F9 #87AFF9 #9887F9
triadic
#87AFF9 #F987AF #AFF987
tetradic
#87AFF9 #F987E8 #F9D187 #87F998
square
#87AFF9 #F987E8 #F9D187 #87F998
split-complementary
#87AFF9 #F99887 #E8F987
monochromatic
#1261F3 #4D88F6 #87AFF9 #C1D6FC #E2ECFE

Accessibility & contrast

On white

2.20
#87AFF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#87AFF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFF9
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFF9#FFFFFF#000000##000000
##87AFF91.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B4FC
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#5ABFC9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #87aff9;
/* rgb */ color: rgb(135, 175, 249);
/* oklch */ color: oklch(75.4% 0.116 262.2);
Tailwind
colors: {
  custom: {
    50: '#afc6fb',
    500: '#87aff9',
    950: '#000000',
  },
}
SCSS
$custom: #87aff9;
$custom-light: #afc6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#87aff9",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 249
  },
  "hsl": {
    "h": 218.947,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.11588,
    "h": 262.2
  },
  "luminance": 0.4265
}

Semantic roles & 50–950 ramp

primary
#87AFF9
secondary
#F6EAD5
accent
#9500E6
background
#FBFCFF
surface
#F6F8FF
border
#D0D1D7
text
#111317
muted
#808285

Preview Lab

Preview with #87AFF9

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

Preview Lab → · Contrast checker → · Palette generator →

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