#787FA6#787FA6

#787FA6 is a mid, muted blue. Relative luminance 0.219; OKLCH L 60.5% C 0.060 H 276.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#787FA6
RGBrgb(120, 127, 166)
HSLhsl(231, 21%, 56%)
HSVhsv(231, 28%, 65%)
CMYKcmyk(27.7%, 23.5%, 0%, 34.9%)
CIE-LABlab(53.95, 6.50, -21.60)
CIE-LCHlch(53.95, 22.55, 286.76°)
OKLaboklab(60.53% 0.0068 -0.0595)
OKLCHoklch(60.53% 0.06 276.5)
XYZxyz(22.2162, 21.9244, 39.1303)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FA6 #A69F78
analogous
#7896A6 #787FA6 #8878A6
triadic
#787FA6 #A6787F #7FA678
tetradic
#787FA6 #A67896 #A69F78 #78A688
square
#787FA6 #A67896 #A69F78 #78A688
split-complementary
#787FA6 #A68878 #96A678
monochromatic
#414663 #596087 #787FA6 #9DA2BE #C2C5D7

Accessibility & contrast

On white

3.90
#787FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#787FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FA6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FA6#FFFFFF#000000##000000
##787FA61.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7483A8
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#6C868C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787fa6;
/* rgb */ color: rgb(120, 127, 166);
/* oklch */ color: oklch(60.5% 0.060 276.5);
Tailwind
colors: {
  custom: {
    50: '#a0a4c0',
    500: '#787fa6',
    950: '#000000',
  },
}
SCSS
$custom: #787fa6;
$custom-light: #a0a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#787fa6",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 230.87,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.05988,
    "h": 276.5
  },
  "luminance": 0.21925
}

Semantic roles & 50–950 ramp

primary
#787FA6
secondary
#C6C4B3
accent
#B16BBD
background
#F9FAFB
surface
#F2F3F7
border
#CCCDD0
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #787FA6

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

Preview Lab → · Contrast checker → · Palette generator →

#787FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva