#787EA0#787EA0

#787EA0 is a mid, muted blue. Relative luminance 0.215; OKLCH L 60.1% C 0.052 H 276.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#787EA0
RGBrgb(120, 126, 160)
HSLhsl(231, 17%, 55%)
HSVhsv(231, 25%, 63%)
CMYKcmyk(25%, 21.2%, 0%, 37.3%)
CIE-LABlab(53.44, 5.57, -18.90)
CIE-LCHlch(53.44, 19.70, 286.43°)
OKLaboklab(60.06% 0.0063 -0.0519)
OKLCHoklch(60.06% 0.052 276.9)
XYZxyz(21.5501, 21.4523, 36.2562)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EA0 #A09A78
analogous
#7892A0 #787EA0 #8678A0
triadic
#787EA0 #A0787E #7EA078
tetradic
#787EA0 #A07892 #A09A78 #78A086
square
#787EA0 #A07892 #A09A78 #78A086
split-complementary
#787EA0 #A08678 #92A078
monochromatic
#41455D #5A6080 #787EA0 #9CA0B9 #C0C3D3

Accessibility & contrast

On white

3.97
#787EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#787EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EA0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EA0#FFFFFF#000000##000000
##787EA01.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7481A2
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#6E8489
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787ea0;
/* rgb */ color: rgb(120, 126, 160);
/* oklch */ color: oklch(60.1% 0.052 276.9);
Tailwind
colors: {
  custom: {
    50: '#9fa3bc',
    500: '#787ea0',
    950: '#000000',
  },
}
SCSS
$custom: #787ea0;
$custom-light: #9fa3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#787ea0",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 231,
    "s": 17.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.05224,
    "h": 276.9
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#787EA0
secondary
#C2C0B1
accent
#AF6EBA
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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