#7B87CB#7B87CB

#7B87CB is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.2% C 0.103 H 275.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B87CB
RGBrgb(123, 135, 203)
HSLhsl(231, 43%, 64%)
HSVhsv(231, 39%, 80%)
CMYKcmyk(39.4%, 33.5%, 0%, 20.4%)
CIE-LABlab(57.89, 12.63, -36.59)
CIE-LCHlch(57.89, 38.70, 289.04°)
OKLaboklab(64.17% 0.0098 -0.1024)
OKLCHoklch(64.17% 0.103 275.5)
XYZxyz(27.6086, 25.8495, 60.0231)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87CB #CBBF7B
analogous
#7BAFCB #7B87CB #977BCB
triadic
#7B87CB #CB7B87 #87CB7B
tetradic
#7B87CB #CB7BAF #CBBF7B #7BCB97
square
#7B87CB #CB7BAF #CBBF7B #7BCB97
split-complementary
#7B87CB #CB977B #AFCB7B
monochromatic
#3A4792 #4F5FBA #7B87CB #A7AFDC #D3D7EE

Accessibility & contrast

On white

3.40
#7B87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7B87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87CB#FFFFFF#000000##000000
##7B87CB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#6294A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b87cb;
/* rgb */ color: rgb(123, 135, 203);
/* oklch */ color: oklch(64.2% 0.103 275.5);
Tailwind
colors: {
  custom: {
    50: '#a4a9db',
    500: '#7b87cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b87cb;
$custom-light: #a4a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87cb",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 231,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64165,
    "c": 0.10289,
    "h": 275.5
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#7B87CB
secondary
#DFDBC3
accent
#A22FB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7B87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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