#7E87AE#7E87AE

#7E87AE is a light, muted blue. Relative luminance 0.248; OKLCH L 63.0% C 0.060 H 274.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E87AE
RGBrgb(126, 135, 174)
HSLhsl(229, 23%, 59%)
HSVhsv(229, 28%, 68%)
CMYKcmyk(27.6%, 22.4%, 0%, 31.8%)
CIE-LABlab(56.90, 5.74, -21.63)
CIE-LCHlch(56.90, 22.38, 284.86°)
OKLaboklab(63.05% 0.0046 -0.0595)
OKLCHoklch(63.05% 0.06 274.5)
XYZxyz(24.9061, 24.8189, 43.5145)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87AE #AEA57E
analogous
#7E9FAE #7E87AE #8D7EAE
triadic
#7E87AE #AE7E87 #87AE7E
tetradic
#7E87AE #AE7E9F #AEA57E #7EAE8D
square
#7E87AE #AE7E9F #AEA57E #7EAE8D
split-complementary
#7E87AE #AE8D7E #9FAE7E
monochromatic
#454C6D #5C6693 #7E87AE #A4AAC6 #C9CDDD

Accessibility & contrast

On white

3.52
#7E87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E87AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87AE#FFFFFF#000000##000000
##7E87AE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB0
Deuteranopia (green-blind)
#7887AD
Tritanopia (blue-blind)
#728E94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e87ae;
/* rgb */ color: rgb(126, 135, 174);
/* oklch */ color: oklch(63.0% 0.060 274.5);
Tailwind
colors: {
  custom: {
    50: '#a4a9c6',
    500: '#7e87ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ae;
$custom-light: #a4a9c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ae",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 228.75,
    "s": 22.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63048,
    "c": 0.05972,
    "h": 274.5
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#7E87AE
secondary
#CDCABA
accent
#AF68BF
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #7E87AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7E87AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva