#787EA3#787EA3

#787EA3 is a mid, muted blue. Relative luminance 0.216; OKLCH L 60.2% C 0.057 H 277.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#787EA3
RGBrgb(120, 126, 163)
HSLhsl(232, 19%, 55%)
HSVhsv(232, 26%, 64%)
CMYKcmyk(26.4%, 22.7%, 0%, 36.1%)
CIE-LABlab(53.56, 6.33, -20.46)
CIE-LCHlch(53.56, 21.42, 287.18°)
OKLaboklab(60.19% 0.0073 -0.0563)
OKLCHoklch(60.19% 0.057 277.4)
XYZxyz(21.8157, 21.5586, 37.6550)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EA3 #A39D78
analogous
#7893A3 #787EA3 #8778A3
triadic
#787EA3 #A3787E #7EA378
tetradic
#787EA3 #A37893 #A39D78 #78A387
square
#787EA3 #A37893 #A39D78 #78A387
split-complementary
#787EA3 #A38778 #93A378
monochromatic
#414560 #5A6084 #787EA3 #9CA1BC #C1C4D5

Accessibility & contrast

On white

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

On black

5.31
#787EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EA3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EA3#FFFFFF#000000##000000
##787EA31.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A5
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#6D858B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787ea3;
/* rgb */ color: rgb(120, 126, 163);
/* oklch */ color: oklch(60.2% 0.057 277.4);
Tailwind
colors: {
  custom: {
    50: '#a0a3be',
    500: '#787ea3',
    950: '#000000',
  },
}
SCSS
$custom: #787ea3;
$custom-light: #a0a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#787ea3",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 231.628,
    "s": 18.943,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.05674,
    "h": 277.4
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#787EA3
secondary
#C4C2B2
accent
#B16CBC
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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