#87AFEE#87AFEE

#87AFEE is a light, moderate blue. Relative luminance 0.420; OKLCH L 74.9% C 0.101 H 259.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#87AFEE
RGBrgb(135, 175, 238)
HSLhsl(217, 75%, 73%)
HSVhsv(217, 43%, 93%)
CMYKcmyk(43.3%, 26.5%, 0%, 6.7%)
CIE-LABlab(70.86, 2.63, -35.71)
CIE-LCHlch(70.86, 35.81, 274.21°)
OKLaboklab(74.93% -0.0189 -0.0996)
OKLCHoklch(74.93% 0.101 259.3)
XYZxyz(40.7493, 41.9815, 86.8284)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFEE #EEC687
analogous
#87E2EE #87AFEE #9287EE
triadic
#87AFEE #EE87AF #AFEE87
tetradic
#87AFEE #EE87E2 #EEC687 #87EE92
square
#87AFEE #EE87E2 #EEC687 #87EE92
split-complementary
#87AFEE #EE9287 #E2EE87
monochromatic
#1F68DC #518BE6 #87AFEE #BDD3F6 #E4EDFB

Accessibility & contrast

On white

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

On black

9.40
#87AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFEE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFEE#FFFFFF#000000##000000
##87AFEE1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F1
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#61BDC5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #87afee;
/* rgb */ color: rgb(135, 175, 238);
/* oklch */ color: oklch(74.9% 0.101 259.3);
Tailwind
colors: {
  custom: {
    50: '#aec6f3',
    500: '#87afee',
    950: '#000000',
  },
}
SCSS
$custom: #87afee;
$custom-light: #aec6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#87afee",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 216.699,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74933,
    "c": 0.10142,
    "h": 259.3
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#87AFEE
secondary
#F3E8D8
accent
#890ED7
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111317
muted
#808285

Preview Lab

Preview with #87AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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