#787FA3#787FA3

#787FA3 is a mid, muted blue. Relative luminance 0.218; OKLCH L 60.4% C 0.055 H 276.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#787FA3
RGBrgb(120, 127, 163)
HSLhsl(230, 19%, 55%)
HSVhsv(230, 26%, 64%)
CMYKcmyk(26.4%, 22.1%, 0%, 36.1%)
CIE-LABlab(53.83, 5.74, -20.04)
CIE-LCHlch(53.83, 20.85, 285.99°)
OKLaboklab(60.41% 0.0058 -0.0551)
OKLCHoklch(60.41% 0.055 276.1)
XYZxyz(21.9442, 21.8156, 37.6979)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FA3 #A39C78
analogous
#7894A3 #787FA3 #8678A3
triadic
#787FA3 #A3787F #7FA378
tetradic
#787FA3 #A37894 #A39C78 #78A386
square
#787FA3 #A37894 #A39C78 #78A386
split-complementary
#787FA3 #A38678 #94A378
monochromatic
#414660 #5A6184 #787FA3 #9CA2BC #C1C4D5

Accessibility & contrast

On white

3.92
#787FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#787FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FA3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FA3#FFFFFF#000000##000000
##787FA31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A5
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#6D868B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787fa3;
/* rgb */ color: rgb(120, 127, 163);
/* oklch */ color: oklch(60.4% 0.055 276.1);
Tailwind
colors: {
  custom: {
    50: '#9fa4be',
    500: '#787fa3',
    950: '#000000',
  },
}
SCSS
$custom: #787fa3;
$custom-light: #9fa4be;
$custom-dark: #000000;
JSON
{
  "hex": "#787fa3",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 230.233,
    "s": 18.943,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.0554,
    "h": 276.1
  },
  "luminance": 0.21816
}

Semantic roles & 50–950 ramp

primary
#787FA3
secondary
#C4C1B2
accent
#AF6CBC
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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