#87A2F4#87A2F4

#87A2F4 is a light, vivid blue. Relative luminance 0.375; OKLCH L 72.5% C 0.124 H 269.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#87A2F4
RGBrgb(135, 162, 244)
HSLhsl(225, 83%, 74%)
HSVhsv(225, 45%, 96%)
CMYKcmyk(44.7%, 33.6%, 0%, 4.3%)
CIE-LABlab(67.67, 11.66, -43.96)
CIE-LCHlch(67.67, 45.48, 284.86°)
OKLaboklab(72.53% -0.0015 -0.1235)
OKLCHoklch(72.53% 0.124 269.3)
XYZxyz(39.2360, 37.5210, 90.7452)
Luminance0.3752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87A2F4 #F4D987
analogous
#87D8F4 #87A2F4 #A387F4
triadic
#87A2F4 #F487A2 #A2F487
tetradic
#87A2F4 #F487D8 #F4D987 #87F4A3
square
#87A2F4 #F487D8 #F4D987 #87F4A3
split-complementary
#87A2F4 #F4A387 #D8F487
monochromatic
#174BEA #4F77EF #87A2F4 #BFCDF9 #E3E9FC

Accessibility & contrast

On white

2.47
#87A2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#87A2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #87A2F4
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87A2F4#FFFFFF#000000##000000
##87A2F41.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF7
Deuteranopia (green-blind)
#7AA0F2
Tritanopia (blue-blind)
#5FB3C0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #87a2f4;
/* rgb */ color: rgb(135, 162, 244);
/* oklch */ color: oklch(72.5% 0.124 269.3);
Tailwind
colors: {
  custom: {
    50: '#aebdf8',
    500: '#87a2f4',
    950: '#000000',
  },
}
SCSS
$custom: #87a2f4;
$custom-light: #aebdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#87a2f4",
  "rgb": {
    "r": 135,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 225.138,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.12352,
    "h": 269.3
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#87A2F4
secondary
#F4EDD7
accent
#AA06E0
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #87A2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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