#7C87BF#7C87BF

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

Color values

HEX#7C87BF
RGBrgb(124, 135, 191)
HSLhsl(230, 34%, 62%)
HSVhsv(230, 35%, 75%)
CMYKcmyk(35.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(57.44, 9.60, -30.50)
CIE-LCHlch(57.44, 31.97, 287.47°)
OKLaboklab(63.66% 0.0077 -0.0849)
OKLCHoklch(63.66% 0.085 275.2)
XYZxyz(26.3774, 25.3736, 52.7879)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87BF #BFB47C
analogous
#7CA9BF #7C87BF #937CBF
triadic
#7C87BF #BF7C87 #87BF7C
tetradic
#7C87BF #BF7CA9 #BFB47C #7CBF93
square
#7C87BF #BF7CA9 #BFB47C #7CBF93
split-complementary
#7C87BF #BF937C #A9BF7C
monochromatic
#3F4A81 #5362AB #7C87BF #A5ADD3 #CED2E7

Accessibility & contrast

On white

3.46
#7C87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7C87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87BF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87BF#FFFFFF#000000##000000
##7C87BF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#758DC1
Deuteranopia (green-blind)
#7187BE
Tritanopia (blue-blind)
#69929B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7c87bf;
/* rgb */ color: rgb(124, 135, 191);
/* oklch */ color: oklch(63.7% 0.085 275.2);
Tailwind
colors: {
  custom: {
    50: '#a4a9d2',
    500: '#7c87bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c87bf;
$custom-light: #a4a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87bf",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 230.149,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.08521,
    "h": 275.2
  },
  "luminance": 0.25375
}

Semantic roles & 50–950 ramp

primary
#7C87BF
secondary
#D8D4BF
accent
#9A38AD
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7C87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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