#787CAE#787CAE

#787CAE is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.3% C 0.076 H 280.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#787CAE
RGBrgb(120, 124, 174)
HSLhsl(236, 25%, 58%)
HSVhsv(236, 31%, 68%)
CMYKcmyk(31%, 28.7%, 0%, 31.8%)
CIE-LABlab(53.45, 10.35, -26.97)
CIE-LCHlch(53.45, 28.89, 291.00°)
OKLaboklab(60.26% 0.0136 -0.0748)
OKLCHoklch(60.26% 0.076 280.3)
XYZxyz(22.5913, 21.4637, 42.9888)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CAE #AEAA78
analogous
#7897AE #787CAE #8F78AE
triadic
#787CAE #AE787C #7CAE78
tetradic
#787CAE #AE7897 #AEAA78 #78AE8F
square
#787CAE #AE7897 #AEAA78 #78AE8F
split-complementary
#787CAE #AE8F78 #97AE78
monochromatic
#40446B #575C91 #787CAE #9EA1C5 #C4C6DC

Accessibility & contrast

On white

3.97
#787CAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#787CAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CAE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CAE#FFFFFF#000000##000000
##787CAE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D82B0
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#6A858E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787cae;
/* rgb */ color: rgb(120, 124, 174);
/* oklch */ color: oklch(60.3% 0.076 280.3);
Tailwind
colors: {
  custom: {
    50: '#a0a1c6',
    500: '#787cae',
    950: '#000000',
  },
}
SCSS
$custom: #787cae;
$custom-light: #a0a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#787cae",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 174
  },
  "hsl": {
    "h": 235.556,
    "s": 25,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60258,
    "c": 0.07603,
    "h": 280.3
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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