#7D87BE#7D87BE

#7D87BE is a light, moderate blue. Relative luminance 0.254; OKLCH L 63.7% C 0.083 H 275.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7D87BE
RGBrgb(125, 135, 190)
HSLhsl(231, 33%, 62%)
HSVhsv(231, 34%, 75%)
CMYKcmyk(34.2%, 28.9%, 0%, 25.5%)
CIE-LABlab(57.47, 9.61, -29.88)
CIE-LCHlch(57.47, 31.39, 287.84°)
OKLaboklab(63.68% 0.0085 -0.0831)
OKLCHoklch(63.68% 0.083 275.8)
XYZxyz(26.4130, 25.4047, 52.2171)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87BE #BEB47D
analogous
#7DA8BE #7D87BE #947DBE
triadic
#7D87BE #BE7D87 #87BE7D
tetradic
#7D87BE #BE7DA8 #BEB47D #7DBE94
square
#7D87BE #BE7DA8 #BEB47D #7DBE94
split-complementary
#7D87BE #BE947D #A8BE7D
monochromatic
#404A80 #5562A9 #7D87BE #A6ADD2 #CFD2E7

Accessibility & contrast

On white

3.45
#7D87BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7D87BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87BE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87BE#FFFFFF#000000##000000
##7D87BE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC0
Deuteranopia (green-blind)
#7188BD
Tritanopia (blue-blind)
#6B929A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d87be;
/* rgb */ color: rgb(125, 135, 190);
/* oklch */ color: oklch(63.7% 0.083 275.8);
Tailwind
colors: {
  custom: {
    50: '#a4a9d1',
    500: '#7d87be',
    950: '#000000',
  },
}
SCSS
$custom: #7d87be;
$custom-light: #a4a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87be",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 230.769,
    "s": 33.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.08349,
    "h": 275.8
  },
  "luminance": 0.25406
}

Semantic roles & 50–950 ramp

primary
#7D87BE
secondary
#D7D4BF
accent
#9A39AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #7D87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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