#7F87CD#7F87CD

#7F87CD is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.6% C 0.105 H 278.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7F87CD
RGBrgb(127, 135, 205)
HSLhsl(234, 44%, 65%)
HSVhsv(234, 38%, 80%)
CMYKcmyk(38%, 34.1%, 0%, 19.6%)
CIE-LABlab(58.27, 14.27, -37.10)
CIE-LCHlch(58.27, 39.75, 291.03°)
OKLaboklab(64.56% 0.0147 -0.1038)
OKLCHoklch(64.56% 0.105 278)
XYZxyz(28.4326, 26.2466, 61.3138)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87CD #CDC57F
analogous
#7FAECD #7F87CD #9E7FCD
triadic
#7F87CD #CD7F87 #87CD7F
tetradic
#7F87CD #CD7FAE #CDC57F #7FCD9E
square
#7F87CD #CD7FAE #CDC57F #7FCD9E
split-complementary
#7F87CD #CD9E7F #AECD7F
monochromatic
#3B4497 #535EBC #7F87CD #ABB0DE #D7DAEF

Accessibility & contrast

On white

3.36
#7F87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#7F87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87CD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87CD#FFFFFF#000000##000000
##7F87CD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#6895A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f87cd;
/* rgb */ color: rgb(127, 135, 205);
/* oklch */ color: oklch(64.6% 0.105 278.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9dc',
    500: '#7f87cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f87cd;
$custom-light: #a7a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87cd",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 233.846,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64558,
    "c": 0.10488,
    "h": 278
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

primary
#7F87CD
secondary
#E1DEC7
accent
#A92FB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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