#7D87CD#7D87CD

#7D87CD is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.4% C 0.105 H 276.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D87CD
RGBrgb(125, 135, 205)
HSLhsl(233, 44%, 65%)
HSVhsv(233, 39%, 80%)
CMYKcmyk(39%, 34.1%, 0%, 19.6%)
CIE-LABlab(58.13, 13.73, -37.34)
CIE-LCHlch(58.13, 39.78, 290.18°)
OKLaboklab(64.41% 0.0125 -0.1046)
OKLCHoklch(64.41% 0.105 276.8)
XYZxyz(28.1376, 26.0945, 61.2999)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87CD #CDC37D
analogous
#7DAFCD #7D87CD #9B7DCD
triadic
#7D87CD #CD7D87 #87CD7D
tetradic
#7D87CD #CD7DAF #CDC37D #7DCD9B
square
#7D87CD #CD7DAF #CDC37D #7DCD9B
split-complementary
#7D87CD #CD9B7D #AFCD7D
monochromatic
#3A4596 #515EBC #7D87CD #A9B0DE #D5D9EF

Accessibility & contrast

On white

3.38
#7D87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7D87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87CD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87CD#FFFFFF#000000##000000
##7D87CD1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d87cd;
/* rgb */ color: rgb(125, 135, 205);
/* oklch */ color: oklch(64.4% 0.105 276.8);
Tailwind
colors: {
  custom: {
    50: '#a5a9dc',
    500: '#7d87cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d87cd;
$custom-light: #a5a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87cd",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 232.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.1053,
    "h": 276.8
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#7D87CD
secondary
#E1DDC5
accent
#A62EB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7D87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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