#87AFE2#87AFE2

#87AFE2 is a light, moderate cyan. Relative luminance 0.413; OKLCH L 74.4% C 0.086 H 254.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#87AFE2
RGBrgb(135, 175, 226)
HSLhsl(214, 61%, 71%)
HSVhsv(214, 40%, 89%)
CMYKcmyk(40.3%, 22.6%, 0%, 11.4%)
CIE-LABlab(70.39, -0.66, -29.90)
CIE-LCHlch(70.39, 29.91, 268.73°)
OKLaboklab(74.41% -0.0226 -0.083)
OKLCHoklch(74.41% 0.086 254.8)
XYZxyz(39.0447, 41.2996, 77.8510)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFE2 #E2BA87
analogous
#87DDE2 #87AFE2 #8C87E2
triadic
#87AFE2 #E287AF #AFE287
tetradic
#87AFE2 #E287DD #E2BA87 #87E28C
square
#87AFE2 #E287DD #E2BA87 #87E28C
split-complementary
#87AFE2 #E28C87 #DDE287
monochromatic
#2E6EC0 #568ED6 #87AFE2 #B8D0EE #E6EFF9

Accessibility & contrast

On white

2.27
#87AFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#87AFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFE2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFE2#FFFFFF#000000##000000
##87AFE21.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB1E4
Deuteranopia (green-blind)
#91A8E1
Tritanopia (blue-blind)
#67BAC0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #87afe2;
/* rgb */ color: rgb(135, 175, 226);
/* oklch */ color: oklch(74.4% 0.086 254.8);
Tailwind
colors: {
  custom: {
    50: '#adc6eb',
    500: '#87afe2',
    950: '#000000',
  },
}
SCSS
$custom: #87afe2;
$custom-light: #adc6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#87afe2",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 213.626,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.08602,
    "h": 254.8
  },
  "luminance": 0.41302
}

Semantic roles & 50–950 ramp

primary
#87AFE2
secondary
#EFE4D6
accent
#7D1DC9
background
#FAFCFE
surface
#F5F8FD
border
#CFD1D5
text
#101316
muted
#7F8284

Preview Lab

Preview with #87AFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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