#787E95#787E95

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

Color values

HEX#787E95
RGBrgb(120, 126, 149)
HSLhsl(228, 12%, 53%)
HSVhsv(228, 19%, 58%)
CMYKcmyk(19.5%, 15.4%, 0%, 41.6%)
CIE-LABlab(53.04, 2.89, -13.11)
CIE-LCHlch(53.04, 13.43, 282.44°)
OKLaboklab(59.62% 0.0023 -0.0357)
OKLCHoklch(59.62% 0.036 273.8)
XYZxyz(20.6301, 21.0843, 31.4107)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E95 #958F78
analogous
#788C95 #787E95 #807895
triadic
#787E95 #95787E #7E9578
tetradic
#787E95 #95788C #958F78 #789580
square
#787E95 #95788C #958F78 #789580
split-complementary
#787E95 #958078 #8C9578
monochromatic
#404452 #5B6174 #787E95 #9A9FB0 #BDC0CB

Accessibility & contrast

On white

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

On black

5.22
#787E95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E95
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E95#FFFFFF#000000##000000
##787E951.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788096
Deuteranopia (green-blind)
#767E94
Tritanopia (blue-blind)
#718285
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787e95;
/* rgb */ color: rgb(120, 126, 149);
/* oklch */ color: oklch(59.6% 0.036 273.8);
Tailwind
colors: {
  custom: {
    50: '#9fa3b4',
    500: '#787e95',
    950: '#000000',
  },
}
SCSS
$custom: #787e95;
$custom-light: #9fa3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#787e95",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 149
  },
  "hsl": {
    "h": 227.586,
    "s": 12.033,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.03576,
    "h": 273.8
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#787E95
secondary
#BBB8AE
accent
#A773B5
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #787E95

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

Preview Lab → · Contrast checker → · Palette generator →

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