#7B87BF#7B87BF

#7B87BF is a light, moderate blue. Relative luminance 0.253; OKLCH L 63.6% C 0.085 H 274.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7B87BF
RGBrgb(123, 135, 191)
HSLhsl(229, 35%, 62%)
HSVhsv(229, 36%, 75%)
CMYKcmyk(35.6%, 29.3%, 0%, 25.1%)
CIE-LABlab(57.37, 9.31, -30.62)
CIE-LCHlch(57.37, 32.00, 286.92°)
OKLaboklab(63.58% 0.0066 -0.0852)
OKLCHoklch(63.58% 0.085 274.4)
XYZxyz(26.2336, 25.2995, 52.7812)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87BF #BFB37B
analogous
#7BA9BF #7B87BF #917BBF
triadic
#7B87BF #BF7B87 #87BF7B
tetradic
#7B87BF #BF7BA9 #BFB37B #7BBF91
square
#7B87BF #BF7BA9 #BFB37B #7BBF91
split-complementary
#7B87BF #BF917B #A9BF7B
monochromatic
#3F4A81 #5362AA #7B87BF #A4ACD3 #CDD2E7

Accessibility & contrast

On white

3.47
#7B87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7B87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87BF#FFFFFF#000000##000000
##7B87BF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b87bf;
/* rgb */ color: rgb(123, 135, 191);
/* oklch */ color: oklch(63.6% 0.085 274.4);
Tailwind
colors: {
  custom: {
    50: '#a3a9d2',
    500: '#7b87bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b87bf;
$custom-light: #a3a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87bf",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 229.412,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63583,
    "c": 0.08547,
    "h": 274.4
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#7B87BF
secondary
#D8D3BE
accent
#9938AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7B87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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