#87AFEF#87AFEF

#87AFEF is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.0% C 0.103 H 259.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#87AFEF
RGBrgb(135, 175, 239)
HSLhsl(217, 76%, 73%)
HSVhsv(217, 44%, 94%)
CMYKcmyk(43.5%, 26.8%, 0%, 6.3%)
CIE-LABlab(70.90, 2.91, -36.19)
CIE-LCHlch(70.90, 36.31, 274.60°)
OKLaboklab(74.98% -0.0186 -0.101)
OKLCHoklch(74.98% 0.103 259.6)
XYZxyz(40.8966, 42.0404, 87.6043)
Luminance0.4204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFEF #EFC787
analogous
#87E3EF #87AFEF #9387EF
triadic
#87AFEF #EF87AF #AFEF87
tetradic
#87AFEF #EF87E3 #EFC787 #87EF93
square
#87AFEF #EF87E3 #EFC787 #87EF93
split-complementary
#87AFEF #EF9387 #E3EF87
monochromatic
#1E68DE #518BE8 #87AFEF #BDD3F6 #E4EDFB

Accessibility & contrast

On white

2.23
#87AFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#87AFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFEF
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFEF#FFFFFF#000000##000000
##87AFEF1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F2
Deuteranopia (green-blind)
#8CA9EE
Tritanopia (blue-blind)
#60BDC5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #87afef;
/* rgb */ color: rgb(135, 175, 239);
/* oklch */ color: oklch(75.0% 0.103 259.6);
Tailwind
colors: {
  custom: {
    50: '#aec6f4',
    500: '#87afef',
    950: '#000000',
  },
}
SCSS
$custom: #87afef;
$custom-light: #aec6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#87afef",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 216.923,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74978,
    "c": 0.10272,
    "h": 259.6
  },
  "luminance": 0.42043
}

Semantic roles & 50–950 ramp

primary
#87AFEF
secondary
#F3E9D8
accent
#8A0DD9
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111317
muted
#808285

Preview Lab

Preview with #87AFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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