#787EAE#787EAE

#787EAE is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.7% C 0.073 H 278.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#787EAE
RGBrgb(120, 126, 174)
HSLhsl(233, 25%, 58%)
HSVhsv(233, 31%, 68%)
CMYKcmyk(31%, 27.6%, 0%, 31.8%)
CIE-LABlab(54.00, 9.17, -26.14)
CIE-LCHlch(54.00, 27.70, 289.33°)
OKLaboklab(60.68% 0.0108 -0.0724)
OKLCHoklch(60.68% 0.073 278.5)
XYZxyz(22.8445, 21.9701, 43.0732)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EAE #AEA878
analogous
#7899AE #787EAE #8D78AE
triadic
#787EAE #AE787E #7EAE78
tetradic
#787EAE #AE7899 #AEA878 #78AE8D
square
#787EAE #AE7899 #AEA878 #78AE8D
split-complementary
#787EAE #AE8D78 #99AE78
monochromatic
#40456B #575E91 #787EAE #9EA3C5 #C4C7DC

Accessibility & contrast

On white

3.89
#787EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#787EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EAE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EAE#FFFFFF#000000##000000
##787EAE1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7083B0
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#6A878F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787eae;
/* rgb */ color: rgb(120, 126, 174);
/* oklch */ color: oklch(60.7% 0.073 278.5);
Tailwind
colors: {
  custom: {
    50: '#a0a3c6',
    500: '#787eae',
    950: '#000000',
  },
}
SCSS
$custom: #787eae;
$custom-light: #a0a3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#787eae",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 233.333,
    "s": 25,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.07321,
    "h": 278.5
  },
  "luminance": 0.21971
}

Semantic roles & 50–950 ramp

primary
#787EAE
secondary
#CCC9B6
accent
#B766C1
background
#F9FAFC
surface
#F2F3F8
border
#CCCDD1
text
#0F0F13
muted
#7E7F82

Preview Lab

Preview with #787EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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