#87A5FA#87A5FA

#87A5FA is a light, vivid blue. Relative luminance 0.390; OKLCH L 73.4% C 0.128 H 268.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#87A5FA
RGBrgb(135, 165, 250)
HSLhsl(224, 92%, 75%)
HSVhsv(224, 46%, 98%)
CMYKcmyk(46%, 34%, 0%, 2%)
CIE-LABlab(68.72, 11.67, -45.57)
CIE-LCHlch(68.72, 47.04, 284.37°)
OKLaboklab(73.44% -0.0036 -0.1282)
OKLCHoklch(73.44% 0.128 268.4)
XYZxyz(40.6966, 38.9609, 95.7997)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A5FA #FADC87
analogous
#87DEFA #87A5FA #A287FA
triadic
#87A5FA #FA87A5 #A5FA87
tetradic
#87A5FA #FA87DE #FADC87 #87FAA2
square
#87A5FA #FA87DE #FADC87 #87FAA2
split-complementary
#87A5FA #FAA287 #DEFA87
monochromatic
#114DF5 #4C79F8 #87A5FA #C2D1FC #E2E9FE

Accessibility & contrast

On white

2.39
#87A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#87A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A5FA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A5FA#FFFFFF#000000##000000
##87A5FA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#5BB7C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87a5fa;
/* rgb */ color: rgb(135, 165, 250);
/* oklch */ color: oklch(73.4% 0.128 268.4);
Tailwind
colors: {
  custom: {
    50: '#afbffc',
    500: '#87a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #87a5fa;
$custom-light: #afbffc;
$custom-dark: #000000;
JSON
{
  "hex": "#87a5fa",
  "rgb": {
    "r": 135,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 224.348,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73441,
    "c": 0.12822,
    "h": 268.4
  },
  "luminance": 0.38963
}

Semantic roles & 50–950 ramp

primary
#87A5FA
secondary
#F6EDD5
accent
#AA00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #87A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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