#7A87BC#7A87BC

#7A87BC is a light, moderate blue. Relative luminance 0.251; OKLCH L 63.4% C 0.081 H 273.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A87BC
RGBrgb(122, 135, 188)
HSLhsl(228, 33%, 61%)
HSVhsv(228, 35%, 74%)
CMYKcmyk(35.1%, 28.2%, 0%, 26.3%)
CIE-LABlab(57.17, 8.21, -29.22)
CIE-LCHlch(57.17, 30.36, 285.69°)
OKLaboklab(63.37% 0.0047 -0.0812)
OKLCHoklch(63.37% 0.081 273.3)
XYZxyz(25.7645, 25.0954, 51.0536)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87BC #BCAF7A
analogous
#7AA8BC #7A87BC #8E7ABC
triadic
#7A87BC #BC7A87 #87BC7A
tetradic
#7A87BC #BC7AA8 #BCAF7A #7ABC8E
square
#7A87BC #BC7AA8 #BCAF7A #7ABC8E
split-complementary
#7A87BC #BC8E7A #A8BC7A
monochromatic
#3F4B7D #5364A5 #7A87BC #A3ACD1 #CBD0E5

Accessibility & contrast

On white

3.49
#7A87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7A87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87BC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87BC#FFFFFF#000000##000000
##7A87BC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBE
Deuteranopia (green-blind)
#7187BB
Tritanopia (blue-blind)
#67919A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a87bc;
/* rgb */ color: rgb(122, 135, 188);
/* oklch */ color: oklch(63.4% 0.081 273.3);
Tailwind
colors: {
  custom: {
    50: '#a2a9d0',
    500: '#7a87bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a87bc;
$custom-light: #a2a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87bc",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 228.182,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.08136,
    "h": 273.3
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#7A87BC
secondary
#D5D0BC
accent
#953AAC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7A87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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