#787A98#787A98

#787A98 is a mid, muted blue. Relative luminance 0.202; OKLCH L 58.9% C 0.046 H 281.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#787A98
RGBrgb(120, 122, 152)
HSLhsl(236, 13%, 53%)
HSVhsv(236, 21%, 60%)
CMYKcmyk(21.1%, 19.7%, 0%, 40.4%)
CIE-LABlab(52.04, 5.95, -16.38)
CIE-LCHlch(52.04, 17.43, 289.97°)
OKLaboklab(58.87% 0.0094 -0.0448)
OKLCHoklch(58.87% 0.046 281.9)
XYZxyz(20.3714, 20.1788, 32.5213)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A98 #989678
analogous
#788A98 #787A98 #867898
triadic
#787A98 #98787A #7A9878
tetradic
#787A98 #98788A #989678 #789886
square
#787A98 #98788A #989678 #789886
split-complementary
#787A98 #988678 #8A9878
monochromatic
#414255 #5B5D78 #787A98 #9B9CB2 #BDBECD

Accessibility & contrast

On white

4.17
#787A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#787A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A98
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A98#FFFFFF#000000##000000
##787A981.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#717B97
Tritanopia (blue-blind)
#717F84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787a98;
/* rgb */ color: rgb(120, 122, 152);
/* oklch */ color: oklch(58.9% 0.046 281.9);
Tailwind
colors: {
  custom: {
    50: '#9fa0b6',
    500: '#787a98',
    950: '#000000',
  },
}
SCSS
$custom: #787a98;
$custom-light: #9fa0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#787a98",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 236.25,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.04575,
    "h": 281.9
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#787A98
secondary
#BDBCAF
accent
#B272B6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #787A98

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

Preview Lab → · Contrast checker → · Palette generator →

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