#787E94#787E94

#787E94 is a mid, muted blue. Relative luminance 0.211; OKLCH L 59.6% C 0.034 H 273.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#787E94
RGBrgb(120, 126, 148)
HSLhsl(227, 12%, 53%)
HSVhsv(227, 19%, 58%)
CMYKcmyk(18.9%, 14.9%, 0%, 42%)
CIE-LABlab(53.01, 2.66, -12.58)
CIE-LCHlch(53.01, 12.86, 281.92°)
OKLaboklab(59.58% 0.002 -0.0342)
OKLCHoklch(59.58% 0.034 273.3)
XYZxyz(20.5506, 21.0525, 30.9921)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E94 #948E78
analogous
#788C94 #787E94 #807894
triadic
#787E94 #94787E #7E9478
tetradic
#787E94 #94788C #948E78 #789480
square
#787E94 #94788C #948E78 #789480
split-complementary
#787E94 #948078 #8C9478
monochromatic
#404451 #5B6173 #787E94 #9A9FAF #BCBFCA

Accessibility & contrast

On white

4.03
#787E94 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#787E94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E94
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E94#FFFFFF#000000##000000
##787E941.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788095
Deuteranopia (green-blind)
#767E93
Tritanopia (blue-blind)
#728285
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787e94;
/* rgb */ color: rgb(120, 126, 148);
/* oklch */ color: oklch(59.6% 0.034 273.3);
Tailwind
colors: {
  custom: {
    50: '#9fa3b3',
    500: '#787e94',
    950: '#000000',
  },
}
SCSS
$custom: #787e94;
$custom-light: #9fa3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#787e94",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 148
  },
  "hsl": {
    "h": 227.143,
    "s": 11.57,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.03427,
    "h": 273.3
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#787E94
secondary
#BAB7AE
accent
#A773B4
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #787E94

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

Preview Lab → · Contrast checker → · Palette generator →

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