#87AFDF#87AFDF

#87AFDF is a light, moderate cyan. Relative luminance 0.411; OKLCH L 74.3% C 0.082 H 253.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#87AFDF
RGBrgb(135, 175, 223)
HSLhsl(213, 58%, 70%)
HSVhsv(213, 39%, 87%)
CMYKcmyk(39.5%, 21.5%, 0%, 12.5%)
CIE-LABlab(70.27, -1.47, -28.44)
CIE-LCHlch(70.27, 28.47, 267.04°)
OKLaboklab(74.28% -0.0235 -0.0788)
OKLCHoklch(74.28% 0.082 253.4)
XYZxyz(38.6367, 41.1364, 75.7020)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87AFDF #DFB787
analogous
#87DBDF #87AFDF #8B87DF
triadic
#87AFDF #DF87AF #AFDF87
tetradic
#87AFDF #DF87DB #DFB787 #87DF8B
square
#87AFDF #DF87DB #DFB787 #87DF8B
split-complementary
#87AFDF #DF8B87 #DBDF87
monochromatic
#3270BA #578FD2 #87AFDF #B7CFEC #E7EFF9

Accessibility & contrast

On white

2.28
#87AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#87AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87AFDF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87AFDF#FFFFFF#000000##000000
##87AFDF1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#68BABF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #87afdf;
/* rgb */ color: rgb(135, 175, 223);
/* oklch */ color: oklch(74.3% 0.082 253.4);
Tailwind
colors: {
  custom: {
    50: '#adc6e9',
    500: '#87afdf',
    950: '#000000',
  },
}
SCSS
$custom: #87afdf;
$custom-light: #adc6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#87afdf",
  "rgb": {
    "r": 135,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 212.727,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.08228,
    "h": 253.4
  },
  "luminance": 0.41139
}

Semantic roles & 50–950 ramp

primary
#87AFDF
secondary
#EDE2D5
accent
#7A20C5
background
#FAFCFE
surface
#F4F8FC
border
#CED1D5
text
#101316
muted
#7F8284

Preview Lab

Preview with #87AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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