#7E87BF#7E87BF

#7E87BF is a light, moderate blue. Relative luminance 0.255; OKLCH L 63.8% C 0.085 H 276.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7E87BF
RGBrgb(126, 135, 191)
HSLhsl(232, 34%, 62%)
HSVhsv(232, 34%, 75%)
CMYKcmyk(34%, 29.3%, 0%, 25.1%)
CIE-LABlab(57.58, 10.17, -30.26)
CIE-LCHlch(57.58, 31.93, 288.58°)
OKLaboklab(63.81% 0.0099 -0.0841)
OKLCHoklch(63.81% 0.085 276.7)
XYZxyz(26.6695, 25.5242, 52.8016)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87BF #BFB67E
analogous
#7EA8BF #7E87BF #957EBF
triadic
#7E87BF #BF7E87 #87BF7E
tetradic
#7E87BF #BF7EA8 #BFB67E #7EBF95
square
#7E87BF #BF7EA8 #BFB67E #7EBF95
split-complementary
#7E87BF #BF957E #A8BF7E
monochromatic
#414A82 #5561AB #7E87BF #A7ADD3 #D0D3E8

Accessibility & contrast

On white

3.44
#7E87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7E87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87BF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87BF#FFFFFF#000000##000000
##7E87BF1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC1
Deuteranopia (green-blind)
#7188BE
Tritanopia (blue-blind)
#6C929B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e87bf;
/* rgb */ color: rgb(126, 135, 191);
/* oklch */ color: oklch(63.8% 0.085 276.7);
Tailwind
colors: {
  custom: {
    50: '#a5a9d2',
    500: '#7e87bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e87bf;
$custom-light: #a5a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87bf",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 231.692,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.08472,
    "h": 276.7
  },
  "luminance": 0.25525
}

Semantic roles & 50–950 ramp

primary
#7E87BF
secondary
#D8D5C0
accent
#9C39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7E87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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