#7F87BF#7F87BF

#7F87BF is a light, moderate blue. Relative luminance 0.256; OKLCH L 63.9% C 0.085 H 277.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7F87BF
RGBrgb(127, 135, 191)
HSLhsl(233, 33%, 62%)
HSVhsv(233, 34%, 75%)
CMYKcmyk(33.5%, 29.3%, 0%, 25.1%)
CIE-LABlab(57.66, 10.46, -30.14)
CIE-LCHlch(57.66, 31.91, 289.14°)
OKLaboklab(63.88% 0.011 -0.0838)
OKLCHoklch(63.88% 0.085 277.5)
XYZxyz(26.8177, 25.6006, 52.8085)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87BF #BFB77F
analogous
#7FA7BF #7F87BF #977FBF
triadic
#7F87BF #BF7F87 #87BF7F
tetradic
#7F87BF #BF7FA7 #BFB77F #7FBF97
square
#7F87BF #BF7FA7 #BFB77F #7FBF97
split-complementary
#7F87BF #BF977F #A7BF7F
monochromatic
#414982 #5661AB #7F87BF #A8ADD3 #D1D4E8

Accessibility & contrast

On white

3.43
#7F87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7F87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87BF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87BF#FFFFFF#000000##000000
##7F87BF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f87bf;
/* rgb */ color: rgb(127, 135, 191);
/* oklch */ color: oklch(63.9% 0.085 277.5);
Tailwind
colors: {
  custom: {
    50: '#a6a9d2',
    500: '#7f87bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f87bf;
$custom-light: #a6a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87bf",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 232.5,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63881,
    "c": 0.0845,
    "h": 277.5
  },
  "luminance": 0.25602
}

Semantic roles & 50–950 ramp

primary
#7F87BF
secondary
#D9D6C1
accent
#9E39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7F87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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