#87A6F6#87A6F6

#87A6F6 is a light, vivid blue. Relative luminance 0.391; OKLCH L 73.4% C 0.122 H 267.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#87A6F6
RGBrgb(135, 166, 246)
HSLhsl(223, 86%, 75%)
HSVhsv(223, 45%, 96%)
CMYKcmyk(45.1%, 32.5%, 0%, 3.5%)
CIE-LABlab(68.81, 9.95, -43.27)
CIE-LCHlch(68.81, 44.40, 282.96°)
OKLaboklab(73.45% -0.0058 -0.1215)
OKLCHoklch(73.45% 0.122 267.3)
XYZxyz(40.2571, 39.0748, 92.5918)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A6F6 #F6D787
analogous
#87DEF6 #87A6F6 #9F87F6
triadic
#87A6F6 #F687A6 #A6F687
tetradic
#87A6F6 #F687DE #F6D787 #87F69F
square
#87A6F6 #F687DE #F6D787 #87F69F
split-complementary
#87A6F6 #F69F87 #DEF687
monochromatic
#1552ED #4E7CF2 #87A6F6 #C0D0FA #E3EAFD

Accessibility & contrast

On white

2.38
#87A6F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#87A6F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A6F6
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A6F6#FFFFFF#000000##000000
##87A6F61.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF9
Deuteranopia (green-blind)
#7EA3F4
Tritanopia (blue-blind)
#5DB7C3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #87a6f6;
/* rgb */ color: rgb(135, 166, 246);
/* oklch */ color: oklch(73.4% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#afc0f9',
    500: '#87a6f6',
    950: '#000000',
  },
}
SCSS
$custom: #87a6f6;
$custom-light: #afc0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#87a6f6",
  "rgb": {
    "r": 135,
    "g": 166,
    "b": 246
  },
  "hsl": {
    "h": 223.243,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73446,
    "c": 0.12162,
    "h": 267.3
  },
  "luminance": 0.39077
}

Semantic roles & 50–950 ramp

primary
#87A6F6
secondary
#F5ECD6
accent
#A403E3
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #87A6F6

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

Preview Lab → · Contrast checker → · Palette generator →

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