#7A87BF#7A87BF

#7A87BF is a light, moderate blue. Relative luminance 0.252; OKLCH L 63.5% C 0.086 H 273.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7A87BF
RGBrgb(122, 135, 191)
HSLhsl(229, 35%, 61%)
HSVhsv(229, 36%, 75%)
CMYKcmyk(36.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(57.30, 9.03, -30.73)
CIE-LCHlch(57.30, 32.03, 286.37°)
OKLaboklab(63.51% 0.0055 -0.0856)
OKLCHoklch(63.51% 0.086 273.7)
XYZxyz(26.0912, 25.2261, 52.7745)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87BF #BFB27A
analogous
#7AAABF #7A87BF #907ABF
triadic
#7A87BF #BF7A87 #87BF7A
tetradic
#7A87BF #BF7AAA #BFB27A #7ABF90
square
#7A87BF #BF7AAA #BFB27A #7ABF90
split-complementary
#7A87BF #BF907A #AABF7A
monochromatic
#3E4A81 #5262AA #7A87BF #A3ACD3 #CDD2E7

Accessibility & contrast

On white

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

On black

6.05
#7A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87BF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87BF#FFFFFF#000000##000000
##7A87BF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a87bf;
/* rgb */ color: rgb(122, 135, 191);
/* oklch */ color: oklch(63.5% 0.086 273.7);
Tailwind
colors: {
  custom: {
    50: '#a2a9d2',
    500: '#7a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a87bf;
$custom-light: #a2a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87bf",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 228.696,
    "s": 35.025,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.08574,
    "h": 273.7
  },
  "luminance": 0.25227
}

Semantic roles & 50–950 ramp

primary
#7A87BF
secondary
#D7D2BE
accent
#9838AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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