#787ABD#787ABD

#787ABD is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.6% C 0.101 H 281.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#787ABD
RGBrgb(120, 122, 189)
HSLhsl(238, 34%, 61%)
HSVhsv(238, 37%, 74%)
CMYKcmyk(36.5%, 35.4%, 0%, 25.9%)
CIE-LABlab(53.58, 15.60, -35.39)
CIE-LCHlch(53.58, 38.68, 293.79°)
OKLaboklab(60.58% 0.0204 -0.099)
OKLCHoklch(60.58% 0.101 281.6)
XYZxyz(23.8880, 21.5854, 51.0420)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ABD #BDBB78
analogous
#789CBD #787ABD #9878BD
triadic
#787ABD #BD787A #7ABD78
tetradic
#787ABD #BD789C #BDBB78 #78BD98
square
#787ABD #BD789C #BDBB78 #78BD98
split-complementary
#787ABD #BD9878 #9CBD78
monochromatic
#3D3F7D #5154A6 #787ABD #A1A2D1 #CACBE5

Accessibility & contrast

On white

3.95
#787ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#787ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ABD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ABD#FFFFFF#000000##000000
##787ABD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582C0
Deuteranopia (green-blind)
#617EBB
Tritanopia (blue-blind)
#658793
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787abd;
/* rgb */ color: rgb(120, 122, 189);
/* oklch */ color: oklch(60.6% 0.101 281.6);
Tailwind
colors: {
  custom: {
    50: '#a1a0d1',
    500: '#787abd',
    950: '#000000',
  },
}
SCSS
$custom: #787abd;
$custom-light: #a1a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#787abd",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 238.261,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.10112,
    "h": 281.6
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#787ABD
secondary
#D6D5BB
accent
#AA38AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #787ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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