#87AFEB#87AFEB

#87AFEB is a light, moderate blue. Relative luminance 0.418; OKLCH L 74.8% C 0.098 H 258.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#87AFEB
RGBrgb(135, 175, 235)
HSLhsl(216, 71%, 73%)
HSVhsv(216, 43%, 92%)
CMYKcmyk(42.6%, 25.5%, 0%, 7.8%)
CIE-LABlab(70.74, 1.80, -34.27)
CIE-LCHlch(70.74, 34.31, 273.00°)
OKLaboklab(74.8% -0.0198 -0.0955)
OKLCHoklch(74.8% 0.098 258.3)
XYZxyz(40.3122, 41.8066, 84.5265)
Luminance0.4181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFEB #EBC387
analogous
#87E1EB #87AFEB #9187EB
triadic
#87AFEB #EB87AF #AFEB87
tetradic
#87AFEB #EB87E1 #EBC387 #87EB91
square
#87AFEB #EB87E1 #EBC387 #87EB91
split-complementary
#87AFEB #EB9187 #E1EB87
monochromatic
#236AD4 #538CE2 #87AFEB #BBD2F4 #E5EEFB

Accessibility & contrast

On white

2.24
#87AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#87AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFEB
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFEB#FFFFFF#000000##000000
##87AFEB1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2EE
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#62BCC4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #87afeb;
/* rgb */ color: rgb(135, 175, 235);
/* oklch */ color: oklch(74.8% 0.098 258.3);
Tailwind
colors: {
  custom: {
    50: '#aec6f1',
    500: '#87afeb',
    950: '#000000',
  },
}
SCSS
$custom: #87afeb;
$custom-light: #aec6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#87afeb",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74798,
    "c": 0.09752,
    "h": 258.3
  },
  "luminance": 0.41809
}

Semantic roles & 50–950 ramp

primary
#87AFEB
secondary
#F2E8D9
accent
#8612D3
background
#FAFCFE
surface
#F5F8FD
border
#CFD1D5
text
#111317
muted
#808285

Preview Lab

Preview with #87AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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