#87A2DF#87A2DF

#87A2DF is a light, moderate blue. Relative luminance 0.363; OKLCH L 71.5% C 0.095 H 265.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#87A2DF
RGBrgb(135, 162, 223)
HSLhsl(222, 58%, 70%)
HSVhsv(222, 39%, 87%)
CMYKcmyk(39.5%, 27.4%, 0%, 12.5%)
CIE-LABlab(66.76, 5.79, -33.86)
CIE-LCHlch(66.76, 34.35, 279.71°)
OKLaboklab(71.53% -0.0071 -0.0943)
OKLCHoklch(71.53% 0.095 265.7)
XYZxyz(36.2272, 36.3175, 74.8988)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2DF #DFC487
analogous
#87CEDF #87A2DF #9887DF
triadic
#87A2DF #DF87A2 #A2DF87
tetradic
#87A2DF #DF87CE #DFC487 #87DF98
square
#87A2DF #DF87CE #DFC487 #87DF98
split-complementary
#87A2DF #DF9887 #CEDF87
monochromatic
#325BBA #577DD2 #87A2DF #B7C7EC #E7ECF9

Accessibility & contrast

On white

2.54
#87A2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#87A2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2DF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2DF#FFFFFF#000000##000000
##87A2DF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#849FDE
Tritanopia (blue-blind)
#6AAFB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #87a2df;
/* rgb */ color: rgb(135, 162, 223);
/* oklch */ color: oklch(71.5% 0.095 265.7);
Tailwind
colors: {
  custom: {
    50: '#adbde9',
    500: '#87a2df',
    950: '#000000',
  },
}
SCSS
$custom: #87a2df;
$custom-light: #adbde9;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2df",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 221.591,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.0946,
    "h": 265.7
  },
  "luminance": 0.36319
}

Semantic roles & 50–950 ramp

primary
#87A2DF
secondary
#EDE6D5
accent
#9320C5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101216
muted
#7F8184

Preview Lab

Preview with #87A2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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