#787CAA#787CAA

#787CAA is a mid, moderate blue. Relative luminance 0.213; OKLCH L 60.1% C 0.070 H 280.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#787CAA
RGBrgb(120, 124, 170)
HSLhsl(235, 23%, 57%)
HSVhsv(235, 29%, 67%)
CMYKcmyk(29.4%, 27.1%, 0%, 33.3%)
CIE-LABlab(53.29, 9.30, -24.92)
CIE-LCHlch(53.29, 26.60, 290.47°)
OKLaboklab(60.08% 0.0124 -0.0689)
OKLCHoklch(60.08% 0.07 280.2)
XYZxyz(22.2071, 21.3101, 40.9656)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CAA #AAA678
analogous
#7895AA #787CAA #8D78AA
triadic
#787CAA #AA787C #7CAA78
tetradic
#787CAA #AA7895 #AAA678 #78AA8D
square
#787CAA #AA7895 #AAA678 #78AA8D
split-complementary
#787CAA #AA8D78 #95AA78
monochromatic
#414467 #585D8C #787CAA #9EA0C2 #C3C5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787CAA#FFFFFF#000000##000000
##787CAA1.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)
#6F81AC
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#6B848C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787caa;
/* rgb */ color: rgb(120, 124, 170);
/* oklch */ color: oklch(60.1% 0.070 280.2);
Tailwind
colors: {
  custom: {
    50: '#a0a1c3',
    500: '#787caa',
    950: '#000000',
  },
}
SCSS
$custom: #787caa;
$custom-light: #a0a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#787caa",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 235.2,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60075,
    "c": 0.07005,
    "h": 280.2
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#787CAA
secondary
#C9C7B5
accent
#B869BF
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0F12
muted
#7E7E81

Preview Lab

Preview with #787CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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