#787DA5#787DA5

#787DA5 is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.1% C 0.061 H 278.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#787DA5
RGBrgb(120, 125, 165)
HSLhsl(233, 20%, 56%)
HSVhsv(233, 27%, 65%)
CMYKcmyk(27.3%, 24.2%, 0%, 35.3%)
CIE-LABlab(53.36, 7.42, -21.92)
CIE-LCHlch(53.36, 23.14, 288.71°)
OKLaboklab(60.06% 0.0094 -0.0604)
OKLCHoklch(60.06% 0.061 278.8)
XYZxyz(21.8691, 21.3764, 38.5638)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DA5 #A5A078
analogous
#7893A5 #787DA5 #8978A5
triadic
#787DA5 #A5787D #7DA578
tetradic
#787DA5 #A57893 #A5A078 #78A589
square
#787DA5 #A57893 #A5A078 #78A589
split-complementary
#787DA5 #A58978 #93A578
monochromatic
#414562 #5A5E86 #787DA5 #9DA0BD #C1C4D6

Accessibility & contrast

On white

3.98
#787DA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#787DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DA5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DA5#FFFFFF#000000##000000
##787DA51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7281A7
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#6D848B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787da5;
/* rgb */ color: rgb(120, 125, 165);
/* oklch */ color: oklch(60.1% 0.061 278.8);
Tailwind
colors: {
  custom: {
    50: '#a0a2bf',
    500: '#787da5',
    950: '#000000',
  },
}
SCSS
$custom: #787da5;
$custom-light: #a0a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#787da5",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 165
  },
  "hsl": {
    "h": 233.333,
    "s": 20,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.06113,
    "h": 278.8
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#787DA5
secondary
#C6C4B3
accent
#B46BBD
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0F12
muted
#7E7E81

Preview Lab

Preview with #787DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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