#787DAE#787DAE

#787DAE is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.5% C 0.075 H 279.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#787DAE
RGBrgb(120, 125, 174)
HSLhsl(234, 25%, 58%)
HSVhsv(234, 31%, 68%)
CMYKcmyk(31%, 28.2%, 0%, 31.8%)
CIE-LABlab(53.72, 9.76, -26.56)
CIE-LCHlch(53.72, 28.29, 290.18°)
OKLaboklab(60.47% 0.0122 -0.0736)
OKLCHoklch(60.47% 0.075 279.4)
XYZxyz(22.7172, 21.7156, 43.0308)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DAE #AEA978
analogous
#7898AE #787DAE #8E78AE
triadic
#787DAE #AE787D #7DAE78
tetradic
#787DAE #AE7898 #AEA978 #78AE8E
square
#787DAE #AE7898 #AEA978 #78AE8E
split-complementary
#787DAE #AE8E78 #98AE78
monochromatic
#40446B #575D91 #787DAE #9EA2C5 #C4C7DC

Accessibility & contrast

On white

3.93
#787DAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#787DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DAE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DAE#FFFFFF#000000##000000
##787DAE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82B0
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#6A868E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787dae;
/* rgb */ color: rgb(120, 125, 174);
/* oklch */ color: oklch(60.5% 0.075 279.4);
Tailwind
colors: {
  custom: {
    50: '#a0a2c6',
    500: '#787dae',
    950: '#000000',
  },
}
SCSS
$custom: #787dae;
$custom-light: #a0a2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#787dae",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 174
  },
  "hsl": {
    "h": 234.444,
    "s": 25,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.0746,
    "h": 279.4
  },
  "luminance": 0.21716
}

Semantic roles & 50–950 ramp

primary
#787DAE
secondary
#CCCAB6
accent
#B966C1
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0F13
muted
#7E7E82

Preview Lab

Preview with #787DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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