#787DA3#787DA3

#787DA3 is a mid, muted blue. Relative luminance 0.213; OKLCH L 60.0% C 0.058 H 278.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#787DA3
RGBrgb(120, 125, 163)
HSLhsl(233, 19%, 55%)
HSVhsv(233, 26%, 64%)
CMYKcmyk(26.4%, 23.3%, 0%, 36.1%)
CIE-LABlab(53.28, 6.92, -20.88)
CIE-LCHlch(53.28, 22.00, 288.32°)
OKLaboklab(59.98% 0.0088 -0.0575)
OKLCHoklch(59.98% 0.058 278.7)
XYZxyz(21.6885, 21.3041, 37.6126)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DA3 #A39E78
analogous
#7892A3 #787DA3 #8878A3
triadic
#787DA3 #A3787D #7DA378
tetradic
#787DA3 #A37892 #A39E78 #78A388
square
#787DA3 #A37892 #A39E78 #78A388
split-complementary
#787DA3 #A38878 #92A378
monochromatic
#414560 #5A5F84 #787DA3 #9CA0BC #C1C3D5

Accessibility & contrast

On white

3.99
#787DA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#787DA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DA3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DA3#FFFFFF#000000##000000
##787DA31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7281A5
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#6E848A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787da3;
/* rgb */ color: rgb(120, 125, 163);
/* oklch */ color: oklch(60.0% 0.058 278.7);
Tailwind
colors: {
  custom: {
    50: '#a0a2be',
    500: '#787da3',
    950: '#000000',
  },
}
SCSS
$custom: #787da3;
$custom-light: #a0a2be;
$custom-dark: #000000;
JSON
{
  "hex": "#787da3",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 163
  },
  "hsl": {
    "h": 233.023,
    "s": 18.943,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.05812,
    "h": 278.7
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#787DA3
secondary
#C4C2B2
accent
#B26CBC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0F12
muted
#7E7E81

Preview Lab

Preview with #787DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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