#87AFEA#87AFEA

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

Color values

HEX#87AFEA
RGBrgb(135, 175, 234)
HSLhsl(216, 70%, 72%)
HSVhsv(216, 42%, 92%)
CMYKcmyk(42.3%, 25.2%, 0%, 8.2%)
CIE-LABlab(70.70, 1.52, -33.78)
CIE-LCHlch(70.70, 33.82, 272.58°)
OKLaboklab(74.75% -0.0201 -0.0941)
OKLCHoklch(74.75% 0.096 258)
XYZxyz(40.1681, 41.7490, 83.7677)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFEA #EAC287
analogous
#87E0EA #87AFEA #9187EA
triadic
#87AFEA #EA87AF #AFEA87
tetradic
#87AFEA #EA87E0 #EAC287 #87EA91
square
#87AFEA #EA87E0 #EAC287 #87EA91
split-complementary
#87AFEA #EA9187 #E0EA87
monochromatic
#256BD2 #538CE1 #87AFEA #BBD2F3 #E5EEFA

Accessibility & contrast

On white

2.25
#87AFEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#87AFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFEA
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFEA#FFFFFF#000000##000000
##87AFEA1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#63BCC3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #87afea;
/* rgb */ color: rgb(135, 175, 234);
/* oklch */ color: oklch(74.8% 0.096 258.0);
Tailwind
colors: {
  custom: {
    50: '#aec6f1',
    500: '#87afea',
    950: '#000000',
  },
}
SCSS
$custom: #87afea;
$custom-light: #aec6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#87afea",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 215.758,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.09623,
    "h": 258
  },
  "luminance": 0.41751
}

Semantic roles & 50–950 ramp

primary
#87AFEA
secondary
#F2E8D9
accent
#8513D2
background
#FAFCFE
surface
#F5F8FD
border
#CFD1D5
text
#111316
muted
#808284

Preview Lab

Preview with #87AFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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